Added test case for String#end_with? with string of length 2.

This commit is contained in:
Frederick John Milens III
2013-08-22 18:41:23 -05:00
parent aa099f7f7d
commit d42427870b
+1
View File
@@ -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