mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue