diff options
| author | ksss <[email protected]> | 2014-05-18 10:54:23 +0900 |
|---|---|---|
| committer | ksss <[email protected]> | 2014-05-18 10:54:23 +0900 |
| commit | 464bbbddc79ab290b88ac4ee1f70363f8d9026a2 (patch) | |
| tree | 37e82791660e6d58b3d83c93e783490a3b691fe6 /test/t/module.rb | |
| parent | 1f6d8d73bd434fe387d2df07869ba93ca832cbaf (diff) | |
| download | mruby-464bbbddc79ab290b88ac4ee1f70363f8d9026a2.tar.gz mruby-464bbbddc79ab290b88ac4ee1f70363f8d9026a2.zip | |
instance method name use "#" instead of "." for assert
Diffstat (limited to 'test/t/module.rb')
| -rw-r--r-- | test/t/module.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/t/module.rb b/test/t/module.rb index 585774a4b..2072f1f3c 100644 --- a/test/t/module.rb +++ b/test/t/module.rb @@ -254,7 +254,7 @@ assert('Module#const_get', '15.2.2.4.21') do assert_equal 42, Test4ConstGet.const_get(:Const4Test4ConstGet) end -assert('Module.const_missing', '15.2.2.4.22') do +assert('Module#const_missing', '15.2.2.4.22') do module Test4ConstMissing def self.const_missing(sym) 42 # the answer to everything @@ -273,7 +273,7 @@ assert('Module#const_get', '15.2.2.4.23') do assert_equal 23, Test4ConstSet.const_get(:Const4Test4ConstSet) end -assert('Module.constants', '15.2.2.4.24') do +assert('Module#constants', '15.2.2.4.24') do $n = [] module TestA C = 1 @@ -444,7 +444,7 @@ assert('Module#remove_method', '15.2.2.4.41') do assert_false Test4RemoveMethod::Child.instance_methods(false).include? :hello end -assert('Module.undef_method', '15.2.2.4.42') do +assert('Module#undef_method', '15.2.2.4.42') do module Test4UndefMethod class Parent def hello |
