Skip to content

Commit

Permalink
Merge #13
Browse files Browse the repository at this point in the history
13: test(instance) Use `assert_nil` instead of `assert_equal nil, …` r=Hywan a=Hywan

Minitest emits a warning. This patch fixes that.

Co-authored-by: Ivan Enderlin <ivan.enderlin@hoa-project.net>
  • Loading branch information
bors[bot] and Hywan committed May 21, 2019
2 parents d32ee2c + 160f790 commit 02c6c30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/instance_test.rb
Expand Up @@ -104,7 +104,7 @@ def test_call_string
end

def test_call_void
assert_equal nil, Wasmer::Instance.new(self.bytes).exports.void
assert_nil Wasmer::Instance.new(self.bytes).exports.void
end

def test_exports
Expand Down

0 comments on commit 02c6c30

Please sign in to comment.