summaryrefslogtreecommitdiff
path: root/test/objspace/test_objspace.rb
diff options
context:
space:
mode:
authorgit <svn-admin@ruby-lang.org>2021-05-12 17:40:52 +0900
committergit <svn-admin@ruby-lang.org>2021-05-12 17:40:52 +0900
commit81513c9dab75fa26e02e16945c8886eb6bb9413c (patch)
tree052285b3f7037799d7ba1fd98b7b44df8a247a70 /test/objspace/test_objspace.rb
parent523a6998dd45eb910ccd3fe6a8d9d008f7a12cf2 (diff)
* remove trailing spaces. [ci skip]
Diffstat (limited to 'test/objspace/test_objspace.rb')
-rw-r--r--test/objspace/test_objspace.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/objspace/test_objspace.rb b/test/objspace/test_objspace.rb
index 8a0b6fba20..7032798940 100644
--- a/test/objspace/test_objspace.rb
+++ b/test/objspace/test_objspace.rb
@@ -108,7 +108,7 @@ class TestObjSpace < Test::Unit::TestCase
def test_memsize_of_iseq
iseqw = RubyVM::InstructionSequence.compile('def a; a = :b; a; end')
# Use anonymous class as a basic object size because size of Object.new can be increased
- base_obj_size = ObjectSpace.memsize_of(Class.new.new)
+ base_obj_size = ObjectSpace.memsize_of(Class.new.new)
assert_operator(ObjectSpace.memsize_of(iseqw), :>, base_obj_size)
end