Commit 8026ec03 authored by skandhas's avatar skandhas

add test for Module#class_variable_get

parent 2ca47bba
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment