summaryrefslogtreecommitdiff
path: root/tests/specs/test/hide_stacktraces/main.js
blob: 5e9d186fb49b0e93b8cd2c5d79750760f0195955 (plain)
1
2
3
4
5
6
7
8
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",
  );
});