Create spec file for Parser

This commit is contained in:
Josh Holtrop 2021-05-07 16:58:38 -04:00
parent 885ef6c151
commit 8cd648fc8f

View File

@ -0,0 +1,11 @@
module Imbecile
class Regex
RSpec.describe Parser do
it "parses various expressions" do
expect(Parser.new("").unit).to be_a Parser::AlternatesUnit
end
end
end
end