Skip to content

Commit

Permalink
Add a simple test for #364
Browse files Browse the repository at this point in the history
  • Loading branch information
gnodet committed Mar 15, 2019
1 parent e1b0fde commit 514c516
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -153,4 +153,12 @@ public void testDumbTerminalNoSizeComplete() {
assertLine("a", new TestBuffer("a\t\n\n"));
}

@Test
public void testParserEofOnEscapedNewLine() {
DefaultParser parser = new DefaultParser();
parser.setEofOnEscapedNewLine(true);
reader.setParser(parser);

assertLine("test ", new TestBuffer("test \\\t\n\n"));
}
}

0 comments on commit 514c516

Please sign in to comment.