Move imbecile_spec to lexer_dfa_spec
This commit is contained in:
parent
10a8ef5eb4
commit
61dd5bc5a0
@ -56,7 +56,7 @@ def run(grammar, input)
|
|||||||
test_lexer.lex(input)
|
test_lexer.lex(input)
|
||||||
end
|
end
|
||||||
|
|
||||||
describe Imbecile do
|
describe Imbecile::LexerDFA do
|
||||||
it "lexes a simple token" do
|
it "lexes a simple token" do
|
||||||
expect(run(<<EOF, "foo")).to eq [["foo", "foo"]]
|
expect(run(<<EOF, "foo")).to eq [["foo", "foo"]]
|
||||||
token foo
|
token foo
|
Loading…
x
Reference in New Issue
Block a user