diff options
Diffstat (limited to 'cli/tests/testdata')
-rw-r--r-- | cli/tests/testdata/dom_exception_formatting.ts | 1 | ||||
-rw-r--r-- | cli/tests/testdata/dom_exception_formatting.ts.out | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/cli/tests/testdata/dom_exception_formatting.ts b/cli/tests/testdata/dom_exception_formatting.ts new file mode 100644 index 000000000..0209ec81e --- /dev/null +++ b/cli/tests/testdata/dom_exception_formatting.ts @@ -0,0 +1 @@ +throw new DOMException("foo", "SyntaxError"); diff --git a/cli/tests/testdata/dom_exception_formatting.ts.out b/cli/tests/testdata/dom_exception_formatting.ts.out new file mode 100644 index 000000000..2a815eac1 --- /dev/null +++ b/cli/tests/testdata/dom_exception_formatting.ts.out @@ -0,0 +1,2 @@ +[WILDCARD]error: Uncaught SyntaxError: foo +[WILDCARD] |