diff options
Diffstat (limited to 'test/objspace')
-rw-r--r-- | test/objspace/test_objspace.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/objspace/test_objspace.rb b/test/objspace/test_objspace.rb index 74e0ef9a50..21e1341ff3 100644 --- a/test/objspace/test_objspace.rb +++ b/test/objspace/test_objspace.rb @@ -419,7 +419,7 @@ class TestObjSpace < Test::Unit::TestCase end def test_count_symbols - syms = (1..128).map{|i| ("xyzzy#{i}" * 128).to_sym} + syms = (1..128).map{|i| ("xyzzy#{i}_#{Process.pid}_#{rand(1_000_000)}_" * 128).to_sym} c = Class.new{define_method(syms[-1]){}} h = ObjectSpace.count_symbols |