summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby')
-rw-r--r--test/ruby/test_process.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_process.rb b/test/ruby/test_process.rb
index c51f802505..b96acb1373 100644
--- a/test/ruby/test_process.rb
+++ b/test/ruby/test_process.rb
@@ -258,7 +258,7 @@ class TestProcess < Test::Unit::TestCase
end
end;
- assert_raise(ArgumentError, /rlimit_cpu/) {
+ assert_raise_with_message(ArgumentError, /rlimit_cpu/) {
system(RUBY, '-e', 'exit', "rlimit_cpu\0".to_sym => 3600)
}
end