summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorYukihiro Matz Matsumoto <[email protected]>2013-02-25 12:26:27 +0900
committerYukihiro Matz Matsumoto <[email protected]>2013-02-25 12:26:27 +0900
commitcf358aea9f553ab52417e808a70fd2374433fa82 (patch)
tree5ea34df73ce735e6acce0af2504d7b9649b2b045 /test
parentd8d189711deb5df2e27947ae4ecc8dd7a6b96b54 (diff)
downloadmruby-cf358aea9f553ab52417e808a70fd2374433fa82.tar.gz
mruby-cf358aea9f553ab52417e808a70fd2374433fa82.zip
rename assert_includes to assert_include
Diffstat (limited to 'test')
-rw-r--r--test/assert.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/assert.rb b/test/assert.rb
index 38bdfab20..176405d19 100644
--- a/test/assert.rb
+++ b/test/assert.rb
@@ -79,7 +79,7 @@ def assert_nil(obj, msg = nil)
assert_true(obj.nil?, msg, diff)
end
-def assert_includes(collection, obj, msg = nil)
+def assert_include(collection, obj, msg = nil)
msg = "Expected #{collection.inspect} to include #{obj.inspect}" unless msg
diff = " Collection: #{collection.inspect}\n" +
" Object: #{obj.inspect}"