summaryrefslogtreecommitdiff
path: root/bootstraptest/test_knownbug.rb
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
commitdb0f83ffc383e72bac72fbfa11dc899c890419d5 (patch)
tree2bcdcb1f94ae6ca1e37bbe10e855079296e41d0d /bootstraptest/test_knownbug.rb
parent0327a222c40058918134034d161a3bdfc66fd9f8 (diff)
bootstraptest/test_knownbug.rb: wrong condition
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bootstraptest/test_knownbug.rb')
-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 7a3b547..87efa9f 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