Skip to content
This repository

Fix Regexp#to_s when using %r #285

Closed
psi opened this Issue May 14, 2010 · 1 comment

2 participants

JD Harrington Evan Phoenix
JD Harrington
psi commented May 14, 2010

Failing spec before patch:

rubinius(master): bin/mspec spec/ruby/language/regexp_spec.rb
rubinius 1.0.0-rc5 (1.8.7 37c4e19e 2010-05-10 JI) [x86_64-apple-darwin10.3.0]
...F.......F....

2)
Literal Regexps allows unescaped / to be used with %r FAILED
Expected "(?-mix:/)"
 to equal "(?-mix:\\/)"

Passing spec after patch:

rubinius(master) ✗: bin/mspec spec/ruby/language/regexp_spec.rb
rubinius 1.0.0-rc5 (1.8.7 37c4e19e 2010-05-10 JI) [x86_64-apple-darwin10.3.0]
...F............

And here's the patch: http://gist.github.com/401439

Evan Phoenix
Owner
evanphx commented May 17, 2010

Fixed in 2557d04.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.