good morning!!!!

Skip to content
Snippets Groups Projects
Commit cb33badc authored by Garet Halliday's avatar Garet Halliday
Browse files

lexer complete

parent a07468d7
No related branches found
No related tags found
No related merge requests found
...@@ -51,5 +51,8 @@ wow ...@@ -51,5 +51,8 @@ wow
` `
parser := NewParser() parser := NewParser()
t.Errorf("%#v", parser.Lex(test)) lexed := parser.Lex(test)
if len(lexed) != 13 {
t.Errorf("expected 13 tokens! (got %#v)", lexed)
}
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment