Move imbecile_spec to lexer_dfa_spec

This commit is contained in:
Josh Holtrop 2021-06-26 16:01:49 -04:00
parent 10a8ef5eb4
commit 61dd5bc5a0

View File

@ -56,7 +56,7 @@ def run(grammar, input)
test_lexer.lex(input)
end
describe Imbecile do
describe Imbecile::LexerDFA do
it "lexes a simple token" do
expect(run(<<EOF, "foo")).to eq [["foo", "foo"]]
token foo