Skip to content

Commit

Permalink
asm/lexer: Fix broken test case spotted by the implementation. Revers…
Browse files Browse the repository at this point in the history
…e TDD ftw :) Updates #8.
  • Loading branch information
mewmew committed Jan 16, 2015
1 parent c64673e commit 8625b2c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions asm/lexer/lexer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,7 @@ func TestParse(t *testing.T) {
input: "!42.0foo:;foo",
want: []token.Token{
{Kind: token.Exclaim, Val: "!", Pos: 0},
{Kind: token.Float, Val: "42.0", Pos: 1},
{Kind: token.Label, Val: "foo", Pos: 5},
{Kind: token.Label, Val: "42.0foo", Pos: 1},
{Kind: token.Comment, Val: "foo", Pos: 9},
{Kind: token.EOF, Pos: 13},
},
Expand Down

0 comments on commit 8625b2c

Please sign in to comment.