mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
rename assert_includes to assert_include
This commit is contained in:
+1
-1
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user