Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update character_class_spec.rb

Use a Regexp compatible with Ruby1.8.
This would solve nathansobo#32.
  • Loading branch information...
commit c6fd111bbbe73bd2b0555575000786d4da3f7458 1 parent 5ecfa5e
@boutil boutil authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  spec/compiler/character_class_spec.rb
View
2  spec/compiler/character_class_spec.rb
@@ -86,7 +86,7 @@ module ModFoo
end
describe "a character class with a negated POSIX bracket expression" do
- testing_expression "[[:^space:]]"
+ testing_expression "[^[:space:]]"
it "matches a character outside the negated class" do
parse('a').should_not be_nil
end
Please sign in to comment.
Something went wrong with that request. Please try again.