diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-12-09 11:44:02 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-12-09 11:44:02 +0900 |
| commit | fa4ae7dd4d02db5d9042f3804e73cf54395152bb (patch) | |
| tree | 06ce7976d151d7f89e62b56db41507257ec36586 | |
| parent | b87473c2c87685dea7e8d52b6135c63a1dd8287c (diff) | |
| download | mruby-fa4ae7dd4d02db5d9042f3804e73cf54395152bb.tar.gz mruby-fa4ae7dd4d02db5d9042f3804e73cf54395152bb.zip | |
modify test case to check #1606
| -rw-r--r-- | test/t/module.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/t/module.rb b/test/t/module.rb index 8655db391..ec85d7d35 100644 --- a/test/t/module.rb +++ b/test/t/module.rb @@ -276,16 +276,16 @@ end assert('Module.constants', '15.2.2.4.24') do $n = [] module TestA - Const = 1 + C = 1 end class TestB include TestA - Const2 = 1 + C2 = 1 $n = constants.sort end - assert_equal [ :Const ], TestA.constants - assert_equal [ :Const, :Const2 ], $n + assert_equal [ :C ], TestA.constants + assert_equal [ :C, :C2 ], $n end assert('Module#include', '15.2.2.4.27') do |
