Skip to content

Commit

Permalink
Update lexer_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
bobimicroweber committed Aug 17, 2024
1 parent f3b96ea commit ed8b4d2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lexer/lexer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,10 @@ func TestAll(t *testing.T) {
{1, 27, SEMI, ""},
{1, 28, ILLEGAL, "unexpected @"},
}},
{"class Dog", []Info{
{1, 1, CLASS, ""},
{1, 7, NAME, "Dog"},
}},
}
for _, test := range tests {
output, err := tokenize(test.input)
Expand Down

0 comments on commit ed8b4d2

Please sign in to comment.