aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/test_process.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/test_process.rb')
-rw-r--r--test/ruby/test_process.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/test_process.rb b/test/ruby/test_process.rb
index e8c4cfa7d9..eff72c78b4 100644
--- a/test/ruby/test_process.rb
+++ b/test/ruby/test_process.rb
@@ -403,8 +403,8 @@ class TestProcess < Test::Unit::TestCase
with_tmpchdir {|d|
Dir.mkdir "foo"
system(*PWD, :chdir => "foo", :out => "open_chdir_test")
- assert(File.exist?("open_chdir_test"))
- assert(!File.exist?("foo/open_chdir_test"))
+ assert_file(:exist?, "open_chdir_test")
+ assert_file_not(:exist?, "foo/open_chdir_test")
assert_equal("#{d}/foo", File.read("open_chdir_test").chomp)
}
end