Rubinius string_spec failures
-----------------------------

                 Key: JRUBY-1003
                 URL: http://jira.codehaus.org/browse/JRUBY-1003
             Project: JRuby
          Issue Type: Bug
          Components: Core Classes/Modules
            Reporter: Charles Oliver Nutter


{noformat}
1)
'String instance method rstrip! should modify self by first removing trailing 
\000 characters and then removing trailing spaces ' FAILED
expected "goodbye", got nil (using ==)
./test/externals/rubinius/spec/core/string_spec.rb:732:

2)
'String instance method strip should return a string with trailing \000, 
leading and trailing spaces removed' FAILED
expected "goodbye", got "goodbye \000" (using ==)
./test/externals/rubinius/spec/core/string_spec.rb:850:

3)
'String instance method strip! should modify self to remove trailing \000, and 
leading and trailing spaces' FAILED
expected "strip", got "strip  \000" (using ==)
./test/externals/rubinius/spec/core/string_spec.rb:856:

4)
'String instance method to_i should convert the string to an integer base (2, 
8, 10, or 16)' FAILED
expected [12345, 12345, 12345, -12345, 0, 0, 99, 0, 0, 10, 101, 101, 294977, 
294977, 17826049, 294977, 1100101, 0, 0, 101, 101, 69, 0, 1, 299073, 295489, 0, 
0, 1, 294977, 1100101, 0, 17826049, 17826049, 17826049, 0, 1], got [12345, 
12345, 12345, -12345, 0, 0, 99, 0, 0, 10, 101, 101, 0, 0, 17826049, 294977, 
1100101, 0, 0, 101, 101, 69, 0, 1, 0, 0, 0, 0, 1, 294977, 1100101, 0, 17826049, 
17826049, 17826049, 0, 1] (using ==)
./test/externals/rubinius/spec/core/string_spec.rb:980:

5)
'String instance method unpack should return an array by decoding self 
according to the format string' FAILED
expected ["abc ", "abc "], got ["abc \000abc ", ""] (using ==)
./test/externals/rubinius/spec/core/string_spec.rb:1048:

6)
'String instance method % format float (E) values should return a string 
resulting from applying the format' FAILED
expected "1.000000E+01", got "1.000000E+001" (using ==)
./test/externals/rubinius/spec/core/string_spec.rb:1199:

7)
'String instance method % format float (e) values should return a string 
resulting from applying the format' FAILED
expected "1.000000e+01", got "1.000000e+001" (using ==)
./test/externals/rubinius/spec/core/string_spec.rb:1210:
{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