RubySpec: String#sub! with pattern and block raises a TypeError when self is 
frozen
-----------------------------------------------------------------------------------

                 Key: JRUBY-4813
                 URL: http://jira.codehaus.org/browse/JRUBY-4813
             Project: JRuby
          Issue Type: Bug
          Components: RubySpec
    Affects Versions: JRuby 1.5
            Reporter: Charles Oliver Nutter
            Priority: Minor


{noformat}
[java] String#sub! with pattern and block raises a TypeError when self is 
frozen FAILED
[java] Expected TypeError but got RuntimeError (string frozen)
[java] /Users/headius/projects/jruby/spec/ruby/core/string/sub_spec.rb:404
[java] /Users/headius/projects/jruby/spec/ruby/core/string/sub_spec.rb:353
[java] /Users/headius/projects/jruby/spec/ruby/core/string/sub_spec.rb:56: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


Reply via email to