diff options
| author | nagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-04-13 17:37:39 +0000 |
|---|---|---|
| committer | nagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-04-13 17:37:39 +0000 |
| commit | 08c3e8edbd0ccb2b3c193545e0d735dbd9c3adca (patch) | |
| tree | 6175b95aa2851343313dde1c020d151720448c7f /test/ruby/test_object.rb | |
| parent | 59f8d5d103948dc1628dc220677f0bf2ebe22493 (diff) | |
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
Diffstat (limited to 'test/ruby/test_object.rb')
| -rw-r--r-- | test/ruby/test_object.rb | 1 |
1 files changed, 0 insertions, 1 deletions
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 |
