mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Added test case for String#end_with? with string of length 2.
This commit is contained in:
@@ -109,4 +109,5 @@ end
|
||||
assert('String#end_with?') do
|
||||
assert_true "string".end_with?("ing", "mng")
|
||||
assert_true !"string".end_with?("str", "tri")
|
||||
assert_true !"ng".end_with?("ing", "mng")
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user