summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/ruby/test_file_exhaustive.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_file_exhaustive.rb b/test/ruby/test_file_exhaustive.rb
index a64a956afd..4cdb82ed9f 100644
--- a/test/ruby/test_file_exhaustive.rb
+++ b/test/ruby/test_file_exhaustive.rb
@@ -464,7 +464,7 @@ class TestFileExhaustive < Test::Unit::TestCase
path = File.expand_path("/foo")
assert_operator(ObjectSpace.memsize_of(path), :<=, path.bytesize, bug9934)
path = File.expand_path("/a"*25)
- assert_equal(51, ObjectSpace.memsize_of(path), bug9934)
+ assert_equal(path.bytesize, ObjectSpace.memsize_of(path), bug9934)
end
def test_expand_path_encoding