Create spec file for Parser
This commit is contained in:
parent
885ef6c151
commit
8cd648fc8f
11
spec/imbecile/regex/parser_spec.rb
Normal file
11
spec/imbecile/regex/parser_spec.rb
Normal 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
|
Loading…
x
Reference in New Issue
Block a user