summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorKOBAYASHI Shuji <[email protected]>2019-06-05 18:59:48 +0900
committerKOBAYASHI Shuji <[email protected]>2019-06-05 19:13:36 +0900
commitdc1905e1bd8af679c639a67a6787fc41a2612603 (patch)
tree87b51a5b7fa05d907207ff8db7f1f11ce69e3654
parent3b061a90fe14b8282cbbcca722e74edf8cd5ef96 (diff)
downloadmruby-dc1905e1bd8af679c639a67a6787fc41a2612603.tar.gz
mruby-dc1905e1bd8af679c639a67a6787fc41a2612603.zip
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