COMMIT 1.9: Hash: complex recursive structures comparison (redmine #1448) http://github.com/rubyspec/rubyspec/commit/da3c73f7c45e02b198612760d987bfe34035ad65 COMMIT 1.9: Hash: complex recursive structures (redmine #1448) http://github.com/rubyspec/rubyspec/commit/f9e820b243f82cb2edbe2624e1aa2145ee5b5364 COMMIT Refactored "== true" to "be_true" etc. http://github.com/rubyspec/rubyspec/commit/c8d756702d272056a3f21969ef083bf7bf9a914e COMMIT Add Time.now and Time.new specs http://github.com/rubyspec/rubyspec/commit/51f834f26b7f80cb0b429d93e9cdc7325053ebde COMMIT 1.9: Advanced recursive array comparison http://github.com/rubyspec/rubyspec/commit/2c2d23e7726cd15e7a8c66e43a48d2980aa0fc7d --- 20090509T092829 +++ 20090510T092247 @@ -1,7585 +1,7584 @@ - returns true if corresponding elements are #eql? - returns false if other is shorter than self - returns false if other is longer than self -- returns false if any corresponding elements are not #eql? -- properly handles recursive arrays +- returns false immediately when sizes of the arrays differ - does not call #to_ary on its argument - does not call #to_ary on Array subclasses - ignores array class differences +- returns false if any corresponding elements are not #eql? /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/array/equal_value_spec.rb Array#== -- return true if the other is self -- returns true if corresponding elements are #== -- returns false if the other is shorter than self -- returns false if the other is longer than self -- returns false if any corresponding elements are not #== +- returns true if other is the same array +- returns true if corresponding elements are #eql? +- returns false if other is shorter than self +- returns false if other is longer than self - returns false immediately when sizes of the arrays differ -- properly handles recursive arrays - does not call #to_ary on its argument - does not call #to_ary on Array subclasses - ignores array class differences -- does not call #== on its argument +- returns false if any corresponding elements are not #== +- returns true if corresponding elements are #== /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/array/fetch_spec.rb Array#fetch @@ -7786,7 +7785,6 @@ - creates an array with no duplicates - creates an array with elements in order they are first encountered - does not modify the original Array -- properly handles recursive arrays - tries to convert the passed argument to an Array using #to_ary - determines equivalence between elements in the sense of eql? - does return subclass instances for Array subclasses @@ -11257,20 +11255,28 @@ - returns true if the hash has no entries - returns true if the hash has no entries and has a default value +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/hash/eql_spec.rb +Hash#eql? +- does not compare values when keys don't match +- returns false when the numbers of keys differ without comparing any elements +- first compares keys via hash +- does not compare keys with different hash codes via eql? +- computes equality for recursive hashes + /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/hash/equal_value_spec.rb Hash#== -- returns true if other Hash has the same number of keys and each key-value pair matches -- does not call to_hash on hash subclasses +- does not compare values when keys don't match - returns false when the numbers of keys differ without comparing any elements -- compares keys with eql? semantics - first compares keys via hash - does not compare keys with different hash codes via eql? -- compares keys with matching hash codes via eql? - computes equality for recursive hashes -- compares values with == semantics -- does not compare values when keys don't match - compares values when keys match +- compares keys with eql? semantics +- returns true if other Hash has the same number of keys and each key-value pair matches +- does not call to_hash on hash subclasses - ignores hash class differences +- compares keys with matching hash codes via eql? +- compares values with == semantics /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/hash/fetch_spec.rb Hash#fetch @@ -11920,8 +11926,7 @@ /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/io/putc_spec.rb IO#putc - raises IOError on closed stream -- writes the first byte of a Stringheh - +- writes the first byte of a String - writes the first byte of an object's string representation - writes Numerics that fit in a C char - write the first byte of Numerics that don't fit in a C char @@ -16340,93 +16345,93 @@ /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/symbol/inspect_spec.rb Symbol#inspect -- returns self as a symbol literal for :"\"\"" +- returns self as a symbol literal for :" foo" - returns self as a symbol literal for :[] -- returns self as a symbol literal for :@@ruby +- returns self as a symbol literal for :"$-ww" - returns self as a symbol literal for :$: - returns self as a symbol literal for :$! -- returns self as a symbol literal for :"@ruby?" - returns self as a symbol literal for :/ - returns self as a symbol literal for :$< -- returns self as a symbol literal for :"?" -- returns self as a symbol literal for :"=" +- returns self as a symbol literal for :"|||" - returns self as a symbol literal for :".." -- returns self as a symbol literal for :"$" -- returns self as a symbol literal for :fred! -- returns self as a symbol literal for :"." +- returns self as a symbol literal for :"$ruby?" +- returns self as a symbol literal for :"@" - returns self as a symbol literal for :$& - returns self as a symbol literal for :=~ - returns self as a symbol literal for :$/ -- returns self as a symbol literal for :@ruby - returns self as a symbol literal for :> -- returns self as a symbol literal for :" " - returns self as a symbol literal for :"foo bar" - returns self as a symbol literal for :< -- returns self as a symbol literal for :"\"" -- returns self as a symbol literal for :"@ruby!" +- returns self as a symbol literal for :"'" +- returns self as a symbol literal for :"foo " - returns self as a symbol literal for :>= - returns self as a symbol literal for :` +- returns self as a symbol literal for :"@@ruby?" - returns self as a symbol literal for :$@ -- returns self as a symbol literal for :"=>" +- returns self as a symbol literal for :"||" - returns self as a symbol literal for :$> - returns self as a symbol literal for :^ -- returns self as a symbol literal for :$1234 - returns self as a symbol literal for :$= +- returns self as a symbol literal for :"$ruby!" - returns self as a symbol literal for :% - returns self as a symbol literal for :=== -- returns self as a symbol literal for :fred? - returns self as a symbol literal for :$_ +- returns self as a symbol literal for :";" - returns self as a symbol literal for :$~ - returns self as a symbol literal for :<=> -- returns self as a symbol literal for :"," - returns self as a symbol literal for :$, -- returns self as a symbol literal for :" foo" -- returns self as a symbol literal for :"$-ww" - returns self as a symbol literal for :"!" +- returns self as a symbol literal for :"&&" - returns self as a symbol literal for :$" - returns self as a symbol literal for :-@ -- returns self as a symbol literal for :"|||" -- returns self as a symbol literal for :"$ruby?" +- returns self as a symbol literal for :"*foo" +- returns self as a symbol literal for :@ruby - returns self as a symbol literal for :>> - returns self as a symbol literal for :~ - returns self as a symbol literal for :$* -- returns self as a symbol literal for :"@" +- returns self as a symbol literal for :"@@ruby!" - returns self as a symbol literal for :$. - returns self as a symbol literal for :$+ +- returns self as a symbol literal for :fred - returns self as a symbol literal for :[]= - returns self as a symbol literal for :| +- returns self as a symbol literal for :":" - returns self as a symbol literal for :"..." -- returns self as a symbol literal for :"'" -- returns self as a symbol literal for :"foo " -- returns self as a symbol literal for :"@@ruby?" +- returns self as a symbol literal for :$ruby - returns self as a symbol literal for :"!~" -- returns self as a symbol literal for :"||" +- returns self as a symbol literal for :"\"\"" - returns self as a symbol literal for :* -- returns self as a symbol literal for :"$ruby!" -- returns self as a symbol literal for :";" +- returns self as a symbol literal for :@@ruby +- returns self as a symbol literal for :"@ruby?" +- returns self as a symbol literal for :"?" +- returns self as a symbol literal for :"=" - returns self as a symbol literal for :<= +- returns self as a symbol literal for :"$" - returns self as a symbol literal for :$\ - returns self as a symbol literal for :$; - returns self as a symbol literal for :$' - returns self as a symbol literal for :$? +- returns self as a symbol literal for :fred! - returns self as a symbol literal for :"9" +- returns self as a symbol literal for :"." - returns self as a symbol literal for :& - returns self as a symbol literal for :"!=" -- returns self as a symbol literal for :"&&" -- returns self as a symbol literal for :"*foo" +- returns self as a symbol literal for :" " - returns self as a symbol literal for :== -- returns self as a symbol literal for :"@@ruby!" -- returns self as a symbol literal for :fred +- returns self as a symbol literal for :"\"" +- returns self as a symbol literal for :"@ruby!" - returns self as a symbol literal for :** +- returns self as a symbol literal for :"=>" - returns self as a symbol literal for :"::" -- returns self as a symbol literal for :":" +- returns self as a symbol literal for :fred? - returns self as a symbol literal for :+@ +- returns self as a symbol literal for :$1234 - returns self as a symbol literal for :$-w - returns self as a symbol literal for :$` - returns self as a symbol literal for :$$ - returns self as a symbol literal for :"++" +- returns self as a symbol literal for :"," - returns self as a symbol literal for :<< -- returns self as a symbol literal for :$ruby /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/symbol/to_i_spec.rb Symbol#to_i @@ -16787,6 +16792,9 @@ /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/time/initialize_copy_spec.rb /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/time/initialize_spec.rb +Time.new +- creates a time based on the current system time + /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/time/inspect_spec.rb /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/time/isdst_spec.rb Time#isdst @@ -16845,6 +16853,9 @@ - returns the month of the year /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/time/now_spec.rb +Time.now +- creates a time based on the current system time + /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/time/plus_spec.rb Time#+ - increments the time by the specified amount @@ -25536,7 +25547,7 @@ ) ConditionVariable#broadcast releases all threads waiting in line for this resource ERROR -ThreadError: Thread#join: deadlock 0x7fa95645ae00 - mutual join(0x7fa954e99ff8) +ThreadError: Thread#join: deadlock 0x7fd417924e18 - mutual join(0x7fd415ce5540) /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/conditionvariable/broadcast_spec.rb:55:in `join' /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/conditionvariable/broadcast_spec.rb:55 /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/conditionvariable/broadcast_spec.rb:55:in `each' @@ -25568,7 +25579,7 @@ Finished in seconds -2554 files, 10335 examples, 33077 expectations, 0 failures, 1 error +2555 files, 10340 examples, 33077 expectations, 0 failures, 1 error exit 1 failed(rubyspec) == end #