Skip to content

Commit ac12877

Browse files
committed
Prefer better failure message
1 parent b08fec4 commit ac12877

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_tmpdir.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
class TestTmpdir < Test::Unit::TestCase
66
def test_tmpdir_modifiable
77
tmpdir = Dir.tmpdir
8-
assert_equal(false, tmpdir.frozen?)
8+
assert_not_predicate(tmpdir, :frozen?)
99
tmpdir_org = tmpdir.dup
1010
tmpdir << "foo"
1111
assert_equal(tmpdir_org, Dir.tmpdir)

0 commit comments

Comments
 (0)