Create spec file for Parser

This commit is contained in:
josh committed 2021-05-07 16:58:38 -04:00
1 parent 885ef6c151
commit 8cd648fc8f
1 file changed
+11
+11
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