diff options
author | Kitson Kelly <me@kitsonkelly.com> | 2018-08-10 10:38:57 -0700 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2018-08-10 11:50:45 -0700 |
commit | 9be36ffbf8594fe2e155c8113aec56b2a7c19c0b (patch) | |
tree | 23f6f9a6a2a95ff79d12cefd8a7b127fe465e100 /tests/error_002.ts | |
parent | 2c8bdd2f5fda04254551d04923ef91c79524282f (diff) |
Add error tests
Diffstat (limited to 'tests/error_002.ts')
-rw-r--r-- | tests/error_002.ts | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/error_002.ts b/tests/error_002.ts new file mode 100644 index 000000000..6aa0fcc3b --- /dev/null +++ b/tests/error_002.ts @@ -0,0 +1,7 @@ +import { throwsError } from "./subdir/mod1.ts"; + +function foo() { + throwsError(); +} + +foo(); |