Skip to content

Commit aad55b7

Browse files
ledsunkateinoigakukun
authored andcommitted
Add a test that compares nulls in JavaScript
1 parent c84591b commit aad55b7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/npm-packages/ruby-wasm-wasi/test/unit/test_nil_class.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
class TestNilClass < Test::Unit::TestCase
55
def test_to_js
6+
assert_same JS::Null, nil.to_js
67
assert_equal "null", nil.to_js.to_s
78
end
89
end

0 commit comments

Comments
 (0)