OlderDiff < 20101021T230430Z < ThisDiff > 20101022T184212Z > NewerDiff
COMMIT Add a few quick specs for explicit comparison to MRI's marshal format for Time. =================================================================== +++ 20101022T184212Z @@ 35174 @@ - dumps a Time object to a bytestring - dumps an array with a date as first element - dumps an array with a time as second element +- dumps like MRI's marshaled time format /home/chkbuild/tmp/build/ruby-1.9.2/<buildtime>/rubyspec/core/time/_load_spec.rb Time#_load - loads a time object in the new format - loads a time object in the old UNIX timestamp based format +- loads MRI's marshaled time format Time._load - needs to be reviewed for spec completeness @@ 47471 @@ <n>) +Date#civil doesn't blow up (illegal instruction and segfault, respectively) when fed huge numbers FAILED Expected FloatDomainError but got NoMemoryError (failed to allocate memory) /home/chkbuild/tmp/build/ruby-1.9.2/<buildtime>/rubyspec/library/date/shared/civil.rb:72:in `block (4 levels) in <top (required)>' /home/chkbuild/tmp/build/ruby-1.9.2/<buildtime>/rubyspec/library/date/shared/civil.rb:71:in `each' /home/chkbuild/tmp/build/ruby-1.9.2/<buildtime>/rubyspec/library/date/shared/civil.rb:71:in `block (3 levels) in <top (required)>' +/home/chkbuild/tmp/build/ruby-1.9.2/<buildtime>/rubyspec/library/date/civil_spec.rb:5:in `<top (required)>' <n>) Date#new doesn't blow up (illegal instruction and segfault, respectively) when fed huge numbers FAILED @@ 47495 @@ Finished in <t> seconds +3286 files, 15414 examples, <num> expectations, 3 failures, 0 errors exit 1 failed(rubyspec) == end # <time> =================================================================== --- 20101021T230430Z @@ 39229 @@ - creates a date with arguments - doesn't create dates for invalid arguments - creats a Date for different calendar reform dates -- doesn't blow up (illegal instruction and segfault, respectively) when fed huge numbers Date#valid_civil? - should be able to determine if a date is valid @@ 47485 @@ Finished in <t> seconds -3286 files, 15412 examples, <num> expectations, 2 failures, 0 errors exit 1 failed(rubyspec) == end # <time>
OlderDiff < 20101021T230430Z < ThisDiff > 20101022T184212Z > NewerDiff