RubySpec: multiple literal regexp failures
------------------------------------------
Key: JRUBY-3471
URL: http://jira.codehaus.org/browse/JRUBY-3471
Project: JRuby
Issue Type: Bug
Components: RubySpec
Affects Versions: JRuby 1.2
Reporter: Charles Oliver Nutter
{noformat}
1)
Literal Regexps throws SyntaxError for malformed literals FAILED
Expected SyntaxError
but got RegexpError (end pattern with unmatched parenthesis: /(/)
spec/ruby/language/regexp_spec.rb:29
spec/ruby/language/regexp_spec.rb:4
spec/ruby/language/regexp_spec.rb:55:in `load'
2)
Literal Regexps supports [[:alpha:][:digit:][:etc:]] (predefined character
classes) FAILED
Expected SyntaxError
but got RegexpError (char-class value at end of range: /[[:alpha:]-[:digit:]]/)
spec/ruby/language/regexp_spec.rb:466
spec/ruby/language/regexp_spec.rb:4
spec/ruby/language/regexp_spec.rb:55:in `load'
3)
Literal Regexps supports (?imx-imx) (inline modifiers) FAILED
Expected SyntaxError but got RegexpError (undefined group option: /(?a)/)
spec/ruby/language/regexp_spec.rb:571
spec/ruby/language/regexp_spec.rb:4
spec/ruby/language/regexp_spec.rb:55:in `load'
4)
Literal Regexps supports (?imx-imx:expr) (scoped inline modifiers) FAILED
Expected SyntaxError but got RegexpError (undefined group option: /(?a:)/)
spec/ruby/language/regexp_spec.rb:592
spec/ruby/language/regexp_spec.rb:4
spec/ruby/language/regexp_spec.rb:55:in `load'
5)
Literal Regexps does not do thread synchronization for /o FAILED
Expected [:to_s_callback1, :to_s_callback2, /class_with_to_s2/,
/class_with_to_s1/]
to equal [:to_s_callback1, :to_s_callback2, /class_with_to_s2/,
/class_with_to_s2/]
spec/ruby/language/regexp_spec.rb:667
spec/ruby/language/regexp_spec.rb:4
spec/ruby/language/regexp_spec.rb:55:in `load'
{noformat}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email