RubySpec: String#strip failures (1.9 mode)
------------------------------------------

                 Key: JRUBY-5669
                 URL: http://jira.codehaus.org/browse/JRUBY-5669
             Project: JRuby
          Issue Type: Bug
          Components: Core Classes/Modules, Ruby 1.9.2, RubySpec
    Affects Versions: JRuby 1.6
            Reporter: Charles Oliver Nutter


{noformat}
34)
String#rstrip returns a copy of self with all trailing whitespace and NULL 
bytes removed FAILED
Expected "\x00 \x00hello\x00"
 to equal "\x00 \x00hello"

/Users/headius/projects/jruby/spec/ruby/core/string/rstrip_spec.rb:21:in 
`(root)'
org/jruby/RubyBasicObject.java:1697:in `instance_eval'
org/jruby/RubyEnumerable.java:1262:in `all?'
org/jruby/RubyArray.java:1572:in `each'
/Users/headius/projects/jruby/spec/ruby/core/string/rstrip_spec.rb:4:in `(root)'
org/jruby/RubyKernel.java:1072:in `load'
/Users/headius/projects/jruby/spec/ruby/core/string/rstrip_spec.rb:56:in `files'
org/jruby/RubyBasicObject.java:1697:in `instance_eval'
org/jruby/RubyArray.java:1572:in `each'

35)
String#rstrip! modifies self removing trailing NULL bytes and whitespace FAILED
Expected "\x00 \x00hello\x00"
 to equal "\x00 \x00hello"

/Users/headius/projects/jruby/spec/ruby/core/string/rstrip_spec.rb:51:in 
`(root)'
org/jruby/RubyBasicObject.java:1697:in `instance_eval'
org/jruby/RubyEnumerable.java:1262:in `all?'
org/jruby/RubyArray.java:1572:in `each'
/Users/headius/projects/jruby/spec/ruby/core/string/rstrip_spec.rb:32:in 
`(root)'
org/jruby/RubyKernel.java:1072:in `load'
/Users/headius/projects/jruby/spec/ruby/core/string/rstrip_spec.rb:56:in `files'
org/jruby/RubyBasicObject.java:1697:in `instance_eval'
org/jruby/RubyArray.java:1572:in `each'

36)
String#strip returns a copy of self with trailing NULL bytes and whitespace 
FAILED
Expected "\x00 goodbye \x00"
 to equal "\x00 goodbye"

/Users/headius/projects/jruby/spec/ruby/core/string/strip_spec.rb:20:in `(root)'
org/jruby/RubyBasicObject.java:1697:in `instance_eval'
org/jruby/RubyEnumerable.java:1262:in `all?'
org/jruby/RubyArray.java:1572:in `each'
/Users/headius/projects/jruby/spec/ruby/core/string/strip_spec.rb:4:in `(root)'
org/jruby/RubyKernel.java:1072:in `load'
/Users/headius/projects/jruby/spec/ruby/core/string/strip_spec.rb:56:in `files'
org/jruby/RubyBasicObject.java:1697:in `instance_eval'
org/jruby/RubyArray.java:1572:in `each'

37)
String#strip! modifies self removing trailing NULL bytes and whitespace FAILED
Expected "\x00 goodbye \x00"
 to equal "\x00 goodbye"

/Users/headius/projects/jruby/spec/ruby/core/string/strip_spec.rb:74:in `(root)'
org/jruby/RubyBasicObject.java:1697:in `instance_eval'
org/jruby/RubyEnumerable.java:1262:in `all?'
org/jruby/RubyArray.java:1572:in `each'
/Users/headius/projects/jruby/spec/ruby/core/string/strip_spec.rb:31:in `(root)'
org/jruby/RubyKernel.java:1072:in `load'
/Users/headius/projects/jruby/spec/ruby/core/string/strip_spec.rb:56:in `files'
org/jruby/RubyBasicObject.java:1697:in `instance_eval'
org/jruby/RubyArray.java:1572:in `each'
{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