Skip to content

Commit

Permalink
Fix typo in test.
Browse files Browse the repository at this point in the history
github.com//issues/65
  • Loading branch information
ChrisCummins committed Jan 2, 2020
1 parent 37558f8 commit da4a7a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compilers/toy/lexer/lexer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ func TestLexAndTrue(t *testing.T) {
assert.Equal(token.Token{token.ReturnKeywordToken, "return"}, next())
assert.Equal(token.Token{token.NumberToken, "1"}, next())
assert.Equal(token.Token{token.AndToken, "&&"}, next())
assert.Equal(token.Token{token.NegationTOken, "-"}, next())
assert.Equal(token.Token{token.NegationToken, "-"}, next())
assert.Equal(token.Token{token.NumberToken, "1"}, next())
assert.Equal(token.Token{token.SemicolonToken, ";"}, next())
assert.Equal(token.Token{token.CloseBraceToken, "}"}, next())
Expand Down

0 comments on commit da4a7a5

Please sign in to comment.