0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-03-03 17:34:47 -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({ test({
name: "[util] isSymbol", name: "[util] isSymbol",
fn() {} fn() {
assert(util.isSymbol(Symbol()));
assert(!util.isSymbol(123));
assert(!util.isSymbol("string"));
}
}); });
test({ test({