Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -268,7 +268,7 @@ private LexerSource newSource(String contents) {
private LexerSource newSource(String contents, List<String> scriptLines) {
//return new InputStreamLexerSource("in-memory-source",
// new java.io.ByteArrayInputStream(safeGetBytes(contents)), scriptLines, 0, false);
return new ByteArrayLexerSource("in-memory-source", safeGetBytes(contents), scriptLines, 0, false, new SimpleSourcePositionFactory.Factory());
return new ByteArrayLexerSource("in-memory-source", safeGetBytes(contents), scriptLines, 0);
}

private void assertActionShouldProduce(String expected, Callable<byte[]> action) {

0 comments on commit 43c0df9

Please sign in to comment.