summaryrefslogtreecommitdiffhomepage
path: root/test/t/module.rb
diff options
context:
space:
mode:
authorKOBAYASHI Shuji <[email protected]>2019-02-19 20:02:50 +0900
committerKOBAYASHI Shuji <[email protected]>2019-02-19 20:02:50 +0900
commit8a7298e069023b634c2011c4727d12f9fea725c2 (patch)
treef31aea66abd07e4f248638cd1be626679fbd348e /test/t/module.rb
parent971bfd13c152bb9ac8f09737b89a228c88e15d66 (diff)
downloadmruby-8a7298e069023b634c2011c4727d12f9fea725c2.tar.gz
mruby-8a7298e069023b634c2011c4727d12f9fea725c2.zip
Use more appropriate assertion methods
Diffstat (limited to 'test/t/module.rb')
-rw-r--r--test/t/module.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/t/module.rb b/test/t/module.rb
index f01245e88..b2dbe52a2 100644
--- a/test/t/module.rb
+++ b/test/t/module.rb
@@ -231,7 +231,7 @@ assert('Module#const_set', '15.2.2.4.23') do
Const4Test4ConstSet = 42
end
- assert_true Test4ConstSet.const_set(:Const4Test4ConstSet, 23)
+ assert_equal 23, Test4ConstSet.const_set(:Const4Test4ConstSet, 23)
assert_equal 23, Test4ConstSet.const_get(:Const4Test4ConstSet)
end