summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2016-11-17 18:02:10 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2016-11-17 18:02:10 +0900
commit57900d809f7dac7f450eadd475ad225a6cca39cb (patch)
tree8392373df56431e05bbe9c8f420865828b87d902 /test
parent92be276d761ac7e2e7bd1ebe14625d9443b23eb3 (diff)
downloadmruby-57900d809f7dac7f450eadd475ad225a6cca39cb.tar.gz
mruby-57900d809f7dac7f450eadd475ad225a6cca39cb.zip
String#include? does not take integers
Diffstat (limited to 'test')
-rw-r--r--test/t/string.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/t/string.rb b/test/t/string.rb
index fbaada451..e67389b5c 100644
--- a/test/t/string.rb
+++ b/test/t/string.rb
@@ -381,8 +381,6 @@ assert('String#hash', '15.2.10.5.20') do
end
assert('String#include?', '15.2.10.5.21') do
- assert_true 'abc'.include?(97)
- assert_false 'abc'.include?(100)
assert_true 'abc'.include?('a')
assert_false 'abc'.include?('d')
end