ruby-changes:34334
From: tmm1 <ko1@a...>
Date: Fri, 13 Jun 2014 09:00:31 +0900 (JST)
Subject: [ruby-changes:34334] tmm1:r46414 (trunk): add more test coverage for [Bug #9934]
tmm1 2014-06-13 09:00:03 +0900 (Fri, 13 Jun 2014) New Revision: 46414 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=46414 Log: add more test coverage for [ruby-core:63136] [Bug #9934] Modified files: trunk/test/ruby/test_file_exhaustive.rb Index: test/ruby/test_file_exhaustive.rb =================================================================== --- test/ruby/test_file_exhaustive.rb (revision 46413) +++ test/ruby/test_file_exhaustive.rb (revision 46414) @@ -463,6 +463,8 @@ class TestFileExhaustive < Test::Unit::T https://github.com/ruby/ruby/blob/trunk/test/ruby/test_file_exhaustive.rb#L463 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/