mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
fixed tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
6ac5764dd5
commit
4cec4edd0b
2 changed files with 2 additions and 2 deletions
|
@ -116,7 +116,7 @@ assert_equal %q{1}, %q{
|
||||||
Const
|
Const
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
assert_equal %q{C}, %q{
|
assert_equal %q{top}, %q{
|
||||||
Const = :top
|
Const = :top
|
||||||
class C
|
class C
|
||||||
Const = :C
|
Const = :C
|
||||||
|
|
|
@ -238,7 +238,7 @@ class TestModule < Test::Unit::TestCase
|
||||||
end
|
end
|
||||||
assert("foo", Other.class_eval_test)
|
assert("foo", Other.class_eval_test)
|
||||||
|
|
||||||
assert_equal([Other], Other.class_eval { |*args| args })
|
assert_equal([], Other.class_eval { |*args| args })
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_const_defined?
|
def test_const_defined?
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue