summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-string-ext/test
diff options
context:
space:
mode:
authorFrederick John Milens III <[email protected]>2013-08-22 18:41:23 -0500
committerFrederick John Milens III <[email protected]>2013-08-22 18:41:23 -0500
commitd42427870b6c558c43f5bcc876e373b7411ef0e9 (patch)
treefb9cc174c497b84db7934d8e9297e3264d56ddd0 /mrbgems/mruby-string-ext/test
parentaa099f7f7d1f8c61db936fb7c39a3c734175af16 (diff)
downloadmruby-d42427870b6c558c43f5bcc876e373b7411ef0e9.tar.gz
mruby-d42427870b6c558c43f5bcc876e373b7411ef0e9.zip
Added test case for String#end_with? with string of length 2.
Diffstat (limited to 'mrbgems/mruby-string-ext/test')
-rw-r--r--mrbgems/mruby-string-ext/test/string.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/mrbgems/mruby-string-ext/test/string.rb b/mrbgems/mruby-string-ext/test/string.rb
index 9eb6f6aaa..ee887a120 100644
--- a/mrbgems/mruby-string-ext/test/string.rb
+++ b/mrbgems/mruby-string-ext/test/string.rb
@@ -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