mirror of
https://github.com/denoland/deno.git
synced 2025-01-08 15:19:40 -05:00
add some tests for isSymbol in std/node/util_test (#3788)
This commit is contained in:
parent
514cdd941c
commit
c21e0008b5
1 changed files with 5 additions and 1 deletions
|
@ -57,7 +57,11 @@ test({
|
|||
|
||||
test({
|
||||
name: "[util] isSymbol",
|
||||
fn() {}
|
||||
fn() {
|
||||
assert(util.isSymbol(Symbol()));
|
||||
assert(!util.isSymbol(123));
|
||||
assert(!util.isSymbol("string"));
|
||||
}
|
||||
});
|
||||
|
||||
test({
|
||||
|
|
Loading…
Reference in a new issue