diff options
| author | shugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-12-04 07:09:21 +0000 |
|---|---|---|
| committer | shugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-12-04 07:09:21 +0000 |
| commit | baca009e446ed15c0bd0c86a66183ce749c81d93 (patch) | |
| tree | 9ce295f547509a24e752642d78f2b599f82c8669 | |
| parent | 6ebb2f49b383beb8abbf2808b3585b4a42e67328 (diff) | |
| download | ruby-baca009e446ed15c0bd0c86a66183ce749c81d93.tar.gz ruby-baca009e446ed15c0bd0c86a66183ce749c81d93.tar.xz ruby-baca009e446ed15c0bd0c86a66183ce749c81d93.zip | |
fixed tests.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | bootstraptest/test_eval.rb | 2 | ||||
| -rw-r--r-- | test/ruby/test_module.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/bootstraptest/test_eval.rb b/bootstraptest/test_eval.rb index f63d995ff..c5ab95302 100644 --- a/bootstraptest/test_eval.rb +++ b/bootstraptest/test_eval.rb @@ -116,7 +116,7 @@ assert_equal %q{1}, %q{ Const } } -assert_equal %q{C}, %q{ +assert_equal %q{top}, %q{ Const = :top class C Const = :C diff --git a/test/ruby/test_module.rb b/test/ruby/test_module.rb index 2df31d06d..da4caa7eb 100644 --- a/test/ruby/test_module.rb +++ b/test/ruby/test_module.rb @@ -238,7 +238,7 @@ class TestModule < Test::Unit::TestCase end assert("foo", Other.class_eval_test) - assert_equal([Other], Other.class_eval { |*args| args }) + assert_equal([], Other.class_eval { |*args| args }) end def test_const_defined? |
