Skip to content

Commit 43c0df9

Browse files
committed
Fix another source refactoring bug.
1 parent 1c19167 commit 43c0df9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/test/java/org/jruby/lexer/yacc/ByteArrayLexerSourceTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ private LexerSource newSource(String contents) {
268268
private LexerSource newSource(String contents, List<String> scriptLines) {
269269
//return new InputStreamLexerSource("in-memory-source",
270270
// new java.io.ByteArrayInputStream(safeGetBytes(contents)), scriptLines, 0, false);
271-
return new ByteArrayLexerSource("in-memory-source", safeGetBytes(contents), scriptLines, 0, false, new SimpleSourcePositionFactory.Factory());
271+
return new ByteArrayLexerSource("in-memory-source", safeGetBytes(contents), scriptLines, 0);
272272
}
273273

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

0 commit comments

Comments
 (0)