aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/test_set.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_set.rb b/test/test_set.rb
index 86f860222c..acb1cebe16 100644
--- a/test/test_set.rb
+++ b/test/test_set.rb
@@ -739,7 +739,7 @@ class TC_Set < Test::Unit::TestCase
set2.add 5
assert_equal Set[1,2,3,5], set2
assert_equal Set[1,2,3], set1
- end
+ end if Kernel.instance_method(:initialize_clone).arity != 1
def test_inspect
set1 = Set[1, 2]