summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2019-06-05 23:10:36 +0900
committerGitHub <[email protected]>2019-06-05 23:10:36 +0900
commit2847692d5900745630e1db484884a0bb5fffba7e (patch)
tree16c9abc4aacf01142d094379c9923d2757dc6b2f
parent913a148ddc3fe1054ba99b59b0f12de114ee2de0 (diff)
parentdc1905e1bd8af679c639a67a6787fc41a2612603 (diff)
downloadmruby-2847692d5900745630e1db484884a0bb5fffba7e.tar.gz
mruby-2847692d5900745630e1db484884a0bb5fffba7e.zip
Merge pull request #4491 from shuujii/fix-missing-assertions-in-test-t-module.rb
Fix missing assertions in `test/t/module.rb`
-rw-r--r--test/t/module.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/t/module.rb b/test/t/module.rb
index f4999019a..3bb9735df 100644
--- a/test/t/module.rb
+++ b/test/t/module.rb
@@ -684,8 +684,8 @@ assert('Issue 1467') do
include M1
end
- C1.new
- C2.new
+ assert_kind_of(M1, C1.new)
+ assert_kind_of(M1, C2.new)
end
assert('clone Module') do
@@ -699,7 +699,7 @@ assert('clone Module') do
include M1.clone
end
- B.new.foo
+ assert_true(B.new.foo)
end
assert('Module#module_function') do