mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
supress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
a967f738c8
commit
37679ee584
20 changed files with 77 additions and 77 deletions
|
@ -80,8 +80,8 @@ EOW
|
|||
'-e', 'raise %[SomethingElse]']) {|f|
|
||||
f.read
|
||||
}
|
||||
assert_match /SomethingBad/, out, "[ruby-core:9675]"
|
||||
assert_match /SomethingElse/, out, "[ruby-core:9675]"
|
||||
assert_match(/SomethingBad/, out, "[ruby-core:9675]")
|
||||
assert_match(/SomethingElse/, out, "[ruby-core:9675]")
|
||||
end
|
||||
|
||||
def test_should_propagate_exit_code
|
||||
|
@ -99,7 +99,7 @@ EOW
|
|||
'-e', 'at_exit{Process.kill(:INT, $$); loop{}}']) {|f|
|
||||
f.read
|
||||
}
|
||||
assert_match /Interrupt$/, out
|
||||
assert_match(/Interrupt$/, out)
|
||||
Process.kill(0, 0) rescue return # check if signal works
|
||||
assert_nil $?.exitstatus
|
||||
assert_equal Signal.list["INT"], $?.termsig
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue