summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorMasaki Muranaka <[email protected]>2013-04-02 11:40:45 +0900
committerMasaki Muranaka <[email protected]>2013-04-02 11:43:35 +0900
commit4bb7243c2b9ad9d5e1e84f519ac676300a85428e (patch)
tree9ac3050b05944a0b2e4134c202e39d03dca19596 /test
parentc9e19913cffd9191321948fa7035da49a3276aca (diff)
downloadmruby-4bb7243c2b9ad9d5e1e84f519ac676300a85428e.tar.gz
mruby-4bb7243c2b9ad9d5e1e84f519ac676300a85428e.zip
Add comments: some methods is defined in mrbgems.
Diffstat (limited to 'test')
-rw-r--r--test/t/kernel.rb6
-rw-r--r--test/t/string.rb10
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')