From 08c3e8edbd0ccb2b3c193545e0d735dbd9c3adca Mon Sep 17 00:00:00 2001 From: nagachika Date: Sat, 13 Apr 2013 17:37:39 +0000 Subject: merge revision(s) 39766,39769: [Backport #8101] * time.c (GetTimeval): check if already initialized instance. * time.c (GetNewTimeval): check if newly created instance. * time.c (time_init_0, time_init_1, time_init_copy, time_mload): must be newly created instance. [ruby-core:53436] [Bug #8099] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_object.rb | 1 - 1 file changed, 1 deletion(-) (limited to 'test/ruby/test_object.rb') diff --git a/test/ruby/test_object.rb b/test/ruby/test_object.rb index 9787525bce..9936ecda5a 100644 --- a/test/ruby/test_object.rb +++ b/test/ruby/test_object.rb @@ -883,7 +883,6 @@ class TestObject < Test::Unit::TestCase assert_not_initialize_copy {/.*/.match("foo")} st = Struct.new(:foo) assert_not_initialize_copy {st.new} - assert_not_initialize_copy {Time.now} end def test_type_error_message -- cgit v1.2.3