Rubinius core/time_spec failures
--------------------------------
Key: JRUBY-1068
URL: http://jira.codehaus.org/browse/JRUBY-1068
Project: JRuby
Issue Type: Bug
Reporter: Charles Oliver Nutter
Assignee: Thomas E Enebo
Note that number 4 fails for me in MRI too, so it's probably bogus.
{noformat}
1)
'Time class method at should convert to time object' FAILED
expected "Thu Jan 11 00:38:44 +0000 2007", got "Wed Jan 10 18:38:44 CST 2007"
(using ==)
./test/externals/rubinius/spec/core/time_spec.rb:22:
2)
'Time class method local should create a time based on given values,
interpreted in the local time zone' FAILED
expected "Sat Jan 01 20:15:01 +0000 2000", got "Sat Jan 01 20:15:01 GMT 2000"
(using ==)
./test/externals/rubinius/spec/core/time_spec.rb:38:
3)
'Time class method mktime is a synonym for Time.local' FAILED
expected "Sat Jan 01 20:15:01 +0000 2000", got "Sat Jan 01 20:15:01 GMT 2000"
(using ==)
./test/externals/rubinius/spec/core/time_spec.rb:42:
4)
'Time instance method asctime should return a canonical string representation
of time' FAILED
expected "Fri Jun 01 01:53:31 2007", got "Fri Jun 1 01:53:31 2007" (using ==)
./test/externals/rubinius/spec/core/time_spec.rb:48:
5)
'Time instance method hour should return the hour of the day (0..23) for time'
FAILED
expected 0, got 18 (using ==)
./test/externals/rubinius/spec/core/time_spec.rb:68:
6)
'Time instance method day should return the day of the month (1..n) for time'
FAILED
expected 1, got 31 (using ==)
./test/externals/rubinius/spec/core/time_spec.rb:76:
7)
'Time instance method year should return the name year for time' FAILED
expected 1970, got 1969 (using ==)
./test/externals/rubinius/spec/core/time_spec.rb:96:
8)
'Time instance method wday should return an integer representing the day of the
week, 0..6, with Sunday being 0' FAILED
expected 4, got 3 (using ==)
./test/externals/rubinius/spec/core/time_spec.rb:104:
9)
'Time instance method zone should return the time zone used for time' FAILED
expected "GMT", got "CDT" (using ==)
./test/externals/rubinius/spec/core/time_spec.rb:112:
10)
'Time instance method gmt_offset should return the offset in seconds between
the timezone of time and UTC' FAILED
expected 0, got -21600 (using ==)
./test/externals/rubinius/spec/core/time_spec.rb:132:
{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