diff options
| author | Yukihiro Matz Matsumoto <[email protected]> | 2012-11-14 14:42:36 +0900 |
|---|---|---|
| committer | Yukihiro Matz Matsumoto <[email protected]> | 2012-11-14 14:42:36 +0900 |
| commit | 73dda8cb41b0c1864db376dd986694de0e296293 (patch) | |
| tree | a914c88d070c75c66dce72f639d11745614b4da2 /test/t/module.rb | |
| parent | 3eeef306184f202c106d56a13022afc54dad98cb (diff) | |
| parent | 9849501686fee78dd58b27b1c6519707671d6484 (diff) | |
| download | mruby-73dda8cb41b0c1864db376dd986694de0e296293.tar.gz mruby-73dda8cb41b0c1864db376dd986694de0e296293.zip | |
Merge branch 'master' of github.com:mruby/mruby
Diffstat (limited to 'test/t/module.rb')
| -rw-r--r-- | test/t/module.rb | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/test/t/module.rb b/test/t/module.rb index ff8178cb0..511658150 100644 --- a/test/t/module.rb +++ b/test/t/module.rb @@ -34,14 +34,13 @@ end assert('Module#class_variables', '15.2.2.4.19') do class Test4ClassVariables1 @@var1 = 1 - @@var2 = 2 end class Test4ClassVariables2 < Test4ClassVariables1 - @@var3 = 2 + @@var2 = 2 end - Test4ClassVariables1.class_variables == [:@@var1, :@@var2] && - Test4ClassVariables2.class_variables == [:@@var3] + Test4ClassVariables1.class_variables == [:@@var1] && + Test4ClassVariables2.class_variables == [:@@var2] end assert('Module#const_defined?', '15.2.2.4.20') do |
