Skip to content

Commit

Permalink
Test issue 150
Browse files Browse the repository at this point in the history
- Add a test for issue C2FO#150 to specify the expected behavior
- Mark it `skip` pending implementation
  • Loading branch information
Alex Tsibulya committed Sep 22, 2016
1 parent 0e02c4f commit 16b7a8e
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions test/issues.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -239,4 +239,16 @@ it.describe("github issues", function (it) {
});
});
});

it.skip("#150", function (it) {
it.should("not parse a row if a new line is ambiguous and there is more data", function () {
var data = "first_name,last_name,email_address\r";
var myParser = parser({delimiter: ","});
var parsedData = myParser(data, true);
assert.deepEqual(parsedData, {
"line": "first_name,last_name,email_address\r",
"rows": []
});
});
});
});

0 comments on commit 16b7a8e

Please sign in to comment.