Permalink
Browse files

.

  • Loading branch information...
1 parent be59b2b commit 6462a00d75dfc94852ab44dc33d31f88bac3cc6e @floere floere committed Jun 18, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/compile_test.rb
View
@@ -6,7 +6,7 @@ class CompileTest < Test::Unit::TestCase
def self.converts pattern, expected_regexp
it "generates #{expected_regexp.source} from #{pattern}" do
compiled, _ = compiled pattern
- assert_equal expected_regexp, compiled
+ assert_equal expected_regexp.source, compiled.source
end
end
def self.parses pattern, example, expected_params

0 comments on commit 6462a00

Please sign in to comment.