diff options
| -rw-r--r-- | test/t/module.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/t/module.rb b/test/t/module.rb index 5e825c6b5..fbc93eb08 100644 --- a/test/t/module.rb +++ b/test/t/module.rb @@ -46,6 +46,14 @@ assert('Module#class_eval', '15.2.2.4.15') do r.class == Array and r.include?(:method1) end +assert('Module#class_variable_get', '15.2.2.4.17') do + class Test4ClassVariableGet + @@cv = 99 + end + + Test4ClassVariableGet.class_variable_get(:@@cv) == 99 +end + assert('Module#class_variables', '15.2.2.4.19') do class Test4ClassVariables1 |
