Skip to content

Commit 160f790

Browse files
committed
test(instance) Use assert_nil instead of assert_equal nil, ….
Minitest emits a warning. This patch fixes that.
1 parent d32ee2c commit 160f790

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/instance_test.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ def test_call_string
104104
end
105105

106106
def test_call_void
107-
assert_equal nil, Wasmer::Instance.new(self.bytes).exports.void
107+
assert_nil Wasmer::Instance.new(self.bytes).exports.void
108108
end
109109

110110
def test_exports

0 commit comments

Comments
 (0)