-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
[p5.js 2.0 Bug Report]: IO loadTable test failed #7854
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi @madhav2348 , Thanks so much for reporting this. Btw, I am unable to reproduce this issue in the |
Hi @perminder-17,I’ve also tried running the tests on the latest dev-2.0 branch and I am not able to reproduce this issue either. |
I'm sure it's dev-2.0 branch. I install npm packages using FAIL |unit| test/unit/io/loadTable.js > loadTable > CSV files should handle escaped quotes and returns within quoted fields
AssertionError: expected 'David,\r\nSr. "the boss"' to equal 'David,\nSr. "the boss"'
- Expected
+ Received
- David,
+ David,
Sr. "the boss"
❯ test/unit/io/loadTable.js:87:12
85| const table = await mockP5Prototype.loadTable(validFile);
86| assert.equal(table.getRowCount(), 4);
87| assert.equal(table.getRow(3).get(0), 'David,\nSr. "the boss"');
| ^
88| });
89| }); |
Thanks for the update @madhav2348 and also thanks for raising this one. CC: @davepagurek , Is this test a flaky test? Since when I ran on my syste (ubuntu-latest) the test for Do you have any ideas? |
Since my system is Windows, it may vary on OS. If not able to reproduce the error, then let me know to close it, or you could, because only my system is generating it |
It seems the difference is around line ending where windows parse new line as |
Most appropriate sub-area of p5.js?
p5.js version
No response
Web browser and version
No response
Operating system
Windows
Steps to reproduce this
Steps:
npm test
Snippet:
The text was updated successfully, but these errors were encountered: