1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-11 01:58:05 -05:00
denoland-deno/tests/specs/test/hide_stacktraces/main.js

8 lines
230 B
JavaScript

Deno.test("assert a b", () => {
class AssertionError extends Error {
name = "AssertionError";
}
throw new AssertionError(
"Values are not equal.\n\n\n [Diff] Actual / Expected\n\n\n- foo\n+ bar\n\n",
);
});