Create spec file for Parser
This commit is contained in:
1 parent
885ef6c151
commit
8cd648fc8f
1 file changed
+11
@@ -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
|
||||
Reference in new issue
Block a user