mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
bootstraptest/test_knownbug.rb: wrong condition
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
0327a222c4
commit
db0f83ffc3
1 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue