diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-08-05 11:47:25 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-08-05 11:47:25 +0900 |
commit | 521e25baa42c31cc40e60c1da3a5e8e147255ef9 (patch) | |
tree | d6ac66b654d8d61b513ff1d34e5ac23796bbbf51 /test/ruby | |
parent | 8cfa3d861c393b7f2f35eaf30132edd8423ba59a (diff) | |
download | ruby-521e25baa42c31cc40e60c1da3a5e8e147255ef9.tar.gz |
Fixed assertion
The regexp should be expected to match the error message.
Diffstat (limited to 'test/ruby')
-rw-r--r-- | test/ruby/test_process.rb | 2 |
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 |