Fix string indentation in LexerTest
This commit is contained in:
parent
27b128a6ea
commit
c069e00178
@ -13,10 +13,10 @@ public class LexerTest {
|
||||
public void validRule() {
|
||||
final Lexer lexer = new Lexer(
|
||||
"reduction TestRule_123:\n" +
|
||||
" x + y * z = -(a_123 +- 3 / 2.2) -> [\n" +
|
||||
" x^a_123 = cos(pi) - log(e, e), // comment\n" +
|
||||
" undefined, /*\n" +
|
||||
"comment */ ]\n"
|
||||
" x + y * z = -(a_123 +- 3 / 2.2) -> [\n" +
|
||||
" x^a_123 = cos(pi) - log(e, e), // comment\n" +
|
||||
" undefined, /*\n" +
|
||||
"comment */ ]\n"
|
||||
);
|
||||
final List<Token> expected = Arrays.asList(
|
||||
new Token(REDUCTION, "reduction", 0),
|
||||
|
Loading…
Reference in New Issue
Block a user