Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Get Moar with newline translation.
Also update one test to match these new semantics.
  • Loading branch information
jnthn committed Dec 16, 2015
1 parent a4d6b4b commit f73fb45
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion t/moar/03-line-seps.t
Expand Up @@ -58,7 +58,7 @@ my $test-file := 'line-seps-test-file';
my $rfh := nqp::open($test-file, 'r');
nqp::setinputlineseps($rfh, nqp::list_s("\n", "\r\n"));
ok(nqp::readlinefh($rfh) eq "abc\n", '\n separator used');
ok(nqp::readlinefh($rfh) eq "def\r\n", '\r\n separator used');
ok(nqp::readlinefh($rfh) eq "def\n", '\r\n separator used'); # \n due to translation
ok(nqp::readlinefh($rfh) eq "ghi", 'final read to end of file worked');
nqp::closefh($rfh);

Expand Down
2 changes: 1 addition & 1 deletion tools/build/MOAR_REVISION
@@ -1 +1 @@
2015.11-50-ga677430
2015.11-55-g49f10b9

0 comments on commit f73fb45

Please sign in to comment.