mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Added test case for String#start_with? with string of length 1.
This commit is contained in:
@@ -104,6 +104,7 @@ end
|
||||
assert('String#start_with?') do
|
||||
assert_true "hello".start_with?("heaven", "hell")
|
||||
assert_true !"hello".start_with?("heaven", "paradise")
|
||||
assert_true !"h".start_with?("heaven", "hell")
|
||||
end
|
||||
|
||||
assert('String#end_with?') do
|
||||
|
||||
Reference in New Issue
Block a user