1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-09 07:39:15 -05:00

add some tests for isSymbol in std/node/util_test (#3788)

This commit is contained in:
Takashi Idobe 2020-01-25 07:25:40 -06:00 committed by Ryan Dahl
parent 514cdd941c
commit c21e0008b5

View file

@ -57,7 +57,11 @@ test({
test({
name: "[util] isSymbol",
fn() {}
fn() {
assert(util.isSymbol(Symbol()));
assert(!util.isSymbol(123));
assert(!util.isSymbol("string"));
}
});
test({