diff --git a/ChangeLog b/ChangeLog index 8744544084..1cec597f5c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Wed Oct 15 06:50:29 2014 Eric Wong + + * test/ruby/test_optimization.rb (test_hash_aset_with): + assert assignment + Wed Oct 15 04:56:27 2014 Zachary Scott * gc.c (rb_obj_id): [DOC] Fix typo, clean up sentence, and wrap cols diff --git a/test/ruby/test_optimization.rb b/test/ruby/test_optimization.rb index f991beaaa5..40b1cbaa7b 100644 --- a/test/ruby/test_optimization.rb +++ b/test/ruby/test_optimization.rb @@ -164,7 +164,7 @@ class TestRubyOptimization < Test::Unit::TestCase assert_equal 1, h["foo"] = 1 assert_redefine_method('Hash', '[]=', <<-end) h = {} - h["foo"] = 1 + assert_equal 1, h["foo"] = 1, "assignment always returns value set" assert_nil h["foo"] end end