mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
85bbacbba2
commit
559a827579
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue