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