diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/objspace/test_objspace.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/objspace/test_objspace.rb b/test/objspace/test_objspace.rb index aec4572044..f7f507896e 100644 --- a/test/objspace/test_objspace.rb +++ b/test/objspace/test_objspace.rb @@ -218,12 +218,12 @@ class TestObjSpace < Test::Unit::TestCase end def test_dump_all - entry = /"value":"this is a test string", "encoding":"UTF-8", "file":"-", "line":4, "method":"dump_my_heap_please"/ + entry = /"value":"TEST STRING", "encoding":"UTF-8", "file":"-", "line":4, "method":"dump_my_heap_please"/ assert_in_out_err(%w[-robjspace], <<-'end;', entry) def dump_my_heap_please ObjectSpace.trace_object_allocations_start GC.start - "this is a test string".force_encoding("UTF-8") + "TEST STRING".force_encoding("UTF-8") ObjectSpace.dump_all(output: :stdout) end |