diff options
Diffstat (limited to 'test/ruby/test_require.rb')
-rw-r--r-- | test/ruby/test_require.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_require.rb b/test/ruby/test_require.rb index 1d135f0e6b..8e5b8d1582 100644 --- a/test/ruby/test_require.rb +++ b/test/ruby/test_require.rb @@ -109,7 +109,7 @@ class TestRequire < Test::Unit::TestCase Dir.mktmpdir do |tmp| req = File.join(tmp, "very_long_file_name.rb") File.write(req, "p :ok\n") - assert(File.exist?(req)) + assert_file(:exist?, req) req[/.rb$/i] = "" assert_in_out_err(['--disable-gems'], <<-INPUT, %w(:ok), []) require "#{req}" |