mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* eval.c (rb_f_exit), process.c (rb_f_exit_bang): treat true as
success, false as failure. [ruby-dev:22067] * eval.c (rb_f_abort, rb_thread_switch), process.c (rb_f_system): use ANSI macro instead of hard coded value. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
868d5ba485
commit
99fb5f4871
6 changed files with 46 additions and 23 deletions
|
@ -406,7 +406,7 @@ module Test
|
|||
retry
|
||||
rescue
|
||||
end
|
||||
abort if @red
|
||||
exit !@red
|
||||
end # def start_ui
|
||||
private :start_ui
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue