diff options
Diffstat (limited to 'test/macro/assert.tsx')
-rw-r--r-- | test/macro/assert.tsx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/macro/assert.tsx b/test/macro/assert.tsx new file mode 100644 index 000000000..8a6e4d822 --- /dev/null +++ b/test/macro/assert.tsx @@ -0,0 +1,4 @@ +// This logs the result at build time +export function unreachable(call) { + throw new Error(call.arguments[0].toString() || "unreachable"); +} |