Added test case for String#start_with? with string of length 1.

This commit is contained in:
Frederick John Milens III
2013-08-22 16:37:42 -05:00
parent aa099f7f7d
commit de5f5732fe
+1
View File
@@ -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