1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 07:14:47 -05:00
denoland-deno/tests/specs/test/hide_stacktraces/main.js

9 lines
230 B
JavaScript
Raw Normal View History

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",
);
});