summaryrefslogtreecommitdiffstats
path: root/bootstraptest
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-04-14 02:20:47 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-04-14 02:20:47 +0000
commit715a094538bc781baee3c278f6bcf88b3a305baa (patch)
tree2bcdcb1f94ae6ca1e37bbe10e855079296e41d0d /bootstraptest
parent282066c1b285358b53910da619eb8874aec35cbb (diff)
downloadruby-715a094538bc781baee3c278f6bcf88b3a305baa.tar.gz
ruby-715a094538bc781baee3c278f6bcf88b3a305baa.tar.xz
ruby-715a094538bc781baee3c278f6bcf88b3a305baa.zip
bootstraptest/test_knownbug.rb: wrong condition
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bootstraptest')
-rw-r--r--bootstraptest/test_knownbug.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/bootstraptest/test_knownbug.rb b/bootstraptest/test_knownbug.rb
index 7a3b5476e..87efa9f96 100644
--- a/bootstraptest/test_knownbug.rb
+++ b/bootstraptest/test_knownbug.rb
@@ -114,9 +114,9 @@ assert_equal 'ok', %q{
def a() end
begin
if defined?(a(1).a)
- :ok
- else
:ng
+ else
+ :ok
end
rescue
:ng
@@ -127,9 +127,9 @@ assert_equal 'ok', %q{
def a() end
begin
if defined?(a::B)
- :ok
- else
:ng
+ else
+ :ok
end
rescue
:ng