mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
test_beginendblock.rb: rename methods
* test/ruby/test_beginendblock.rb: rename methods, tests always what "should" happen. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
8c239f35de
commit
c2b4f88fcb
1 changed files with 2 additions and 2 deletions
|
@ -89,14 +89,14 @@ EOW
|
|||
assert_match(/SomethingElse/, out, "[ruby-core:9675]")
|
||||
end
|
||||
|
||||
def test_should_propagate_exit_code
|
||||
def test_propagate_exit_code
|
||||
ruby = EnvUtil.rubybin
|
||||
assert_equal false, system(ruby, '-e', 'at_exit{exit 2}')
|
||||
assert_equal 2, $?.exitstatus
|
||||
assert_nil $?.termsig
|
||||
end
|
||||
|
||||
def test_should_propagate_signaled
|
||||
def test_propagate_signaled
|
||||
ruby = EnvUtil.rubybin
|
||||
out = IO.popen(
|
||||
[ruby,
|
||||
|
|
Loading…
Add table
Reference in a new issue