diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-11-27 15:34:53 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-11-27 15:34:53 +0000 |
commit | 3336f7cb3f231630eee7a298b558c93afe7f3ab7 (patch) | |
tree | d258c8e544250e7bb63c51404a28ebe5d0eb791f /lib/test/unit/ui/tk/testrunner.rb | |
parent | 7cc1a562b3859130e6f80278d0d503e6c70eac36 (diff) | |
download | ruby-3336f7cb3f231630eee7a298b558c93afe7f3ab7.tar.gz ruby-3336f7cb3f231630eee7a298b558c93afe7f3ab7.tar.xz ruby-3336f7cb3f231630eee7a298b558c93afe7f3ab7.zip |
* 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: http://svn.ruby-lang.org/repos/ruby/trunk@5040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/test/unit/ui/tk/testrunner.rb')
-rw-r--r-- | lib/test/unit/ui/tk/testrunner.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/test/unit/ui/tk/testrunner.rb b/lib/test/unit/ui/tk/testrunner.rb index 19c39a22f..3c3e0f554 100644 --- a/lib/test/unit/ui/tk/testrunner.rb +++ b/lib/test/unit/ui/tk/testrunner.rb @@ -102,7 +102,7 @@ module Test retry rescue end - abort if @red + exit !@red end def stop # :nodoc: |