test_tempfile.rb: assert_file
* test/test_tempfile.rb (test_default_basename): use assert_file for more descriptive message. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
837d30371b
commit
8d7f655261
@ -59,7 +59,7 @@ class TestTempfile < Test::Unit::TestCase
|
||||
|
||||
def test_default_basename
|
||||
t = tempfile
|
||||
assert File.exist?(t.path)
|
||||
assert_file.exist?(t.path)
|
||||
end
|
||||
|
||||
def test_basename_with_suffix
|
||||
|
Loading…
x
Reference in New Issue
Block a user