mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
parent
9fbbbadc96
commit
50bce2065d
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ require 'tmpdir'
|
||||||
class TestTmpdir < Test::Unit::TestCase
|
class TestTmpdir < Test::Unit::TestCase
|
||||||
def test_tmpdir_modifiable
|
def test_tmpdir_modifiable
|
||||||
tmpdir = Dir.tmpdir
|
tmpdir = Dir.tmpdir
|
||||||
assert_equal(false, tmpdir.frozen?)
|
assert_not_predicate(tmpdir, :frozen?)
|
||||||
tmpdir_org = tmpdir.dup
|
tmpdir_org = tmpdir.dup
|
||||||
tmpdir << "foo"
|
tmpdir << "foo"
|
||||||
assert_equal(tmpdir_org, Dir.tmpdir)
|
assert_equal(tmpdir_org, Dir.tmpdir)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue