mirror of
https://github.com/denoland/std.git
synced 2024-11-22 04:59:05 +00:00
12 lines
336 B
TypeScript
12 lines
336 B
TypeScript
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
|
|
import { assertNotInstanceOf } from "./mod.ts";
|
|
|
|
Deno.test({
|
|
name: "assertNotInstanceOf",
|
|
fn() {
|
|
assertNotInstanceOf("not a number", Number);
|
|
assertNotInstanceOf(42, String);
|
|
assertNotInstanceOf(new URL("http://example.com"), Boolean);
|
|
},
|
|
});
|