diff options
| -rw-r--r-- | test/t/kernel.rb | 6 | ||||
| -rw-r--r-- | test/t/string.rb | 10 |
2 files changed, 11 insertions, 5 deletions
diff --git a/test/t/kernel.rb b/test/t/kernel.rb index 57705d61b..835834359 100644 --- a/test/t/kernel.rb +++ b/test/t/kernel.rb @@ -291,6 +291,10 @@ assert('Kernel#object_id', '15.3.1.3.33') do object_id.class == Fixnum end +# Kernel#p is defined in mruby-print mrbgem. '15.3.1.3.34' + +# Kernel#print is defined in mruby-print mrbgem. '15.3.1.3.35' + assert('Kernel#private_methods', '15.3.1.3.36') do private_methods.class == Array end @@ -303,6 +307,8 @@ assert('Kernel#public_methods', '15.3.1.3.38') do public_methods.class == Array end +# Kernel#puts is defined in mruby-print mrbgem. '15.3.1.3.39' + assert('Kernel#raise', '15.3.1.3.40') do e_list = [] diff --git a/test/t/string.rb b/test/t/string.rb index ef6b6fae0..5f5f664cf 100644 --- a/test/t/string.rb +++ b/test/t/string.rb @@ -32,7 +32,7 @@ assert('String#==', '15.2.10.5.4') do 'abc' == 'abc' and not 'abc' == 'cba' end -# TODO: SEGFAULT ATM assert('String#=~', '15.2.10.5.5') +# 'String#=~', '15.2.10.5.5' will be tested in mrbgems. assert('String#[]', '15.2.10.5.6') do # length of args is 1 @@ -49,7 +49,7 @@ assert('String#[]', '15.2.10.5.6') do e1 = 'abc'[1, 2] # args is RegExp - # TODO SEGFAULT ATM + # It will be tested in mrbgems. # args is String a3 = 'abc'['bc'] @@ -251,7 +251,7 @@ assert('String#length', '15.2.10.5.26') do 'abc'.length == 3 end -# TODO Broken ATM assert('String#match', '15.2.10.5.27') do +# 'String#match', '15.2.10.5.27' will be tested in mrbgems. assert('String#replace', '15.2.10.5.28') do a = '' @@ -279,7 +279,7 @@ assert('String#rindex', '15.2.10.5.31') do 'abcabc'.rindex('a', 1) == 0 and 'abcabc'.rindex('a', 4) == 3 end -# TODO Broken ATM assert('String#scan', '15.2.10.5.32') do +# 'String#scan', '15.2.10.5.32' will be tested in mrbgems. assert('String#size', '15.2.10.5.33') do 'abc'.size == 3 @@ -303,7 +303,7 @@ assert('String#slice', '15.2.10.5.34') do e11 = e1.slice(0) # args is RegExp - # TODO SEGFAULT ATM + # It will be tested in mrbgems. # args is String a3 = 'abc'.slice('bc') |
