blob: 01f7b5db52cbf6fd436337ef1dbd730581a75c88 (
plain)
1
2
3
4
5
6
7
8
9
10
|
import { assertEquals, assertStringIncludes } from "./test_util.ts";
Deno.test(function customInspectFunction() {
const blob = new DOMException("test");
assertEquals(
Deno.inspect(blob),
`DOMException: test`,
);
assertStringIncludes(Deno.inspect(DOMException.prototype), "DOMException");
});
|