From 559a82757959f05fb752610af0adf5d03768569f Mon Sep 17 00:00:00 2001 From: tmm1 Date: Fri, 13 Jun 2014 00:00:03 +0000 Subject: add more test coverage for [ruby-core:63136] [Bug #9934] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_file_exhaustive.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/ruby/test_file_exhaustive.rb') diff --git a/test/ruby/test_file_exhaustive.rb b/test/ruby/test_file_exhaustive.rb index aa9bcc9fb7..a64a956afd 100644 --- a/test/ruby/test_file_exhaustive.rb +++ b/test/ruby/test_file_exhaustive.rb @@ -463,6 +463,8 @@ class TestFileExhaustive < Test::Unit::TestCase require "objspace" 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) end def test_expand_path_encoding -- cgit v1.2.3