summaryrefslogtreecommitdiff
path: root/tests/specs/run/patch/my-pkg/mod.test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'tests/specs/run/patch/my-pkg/mod.test.ts')
-rw-r--r--tests/specs/run/patch/my-pkg/mod.test.ts7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/specs/run/patch/my-pkg/mod.test.ts b/tests/specs/run/patch/my-pkg/mod.test.ts
new file mode 100644
index 000000000..1c694298c
--- /dev/null
+++ b/tests/specs/run/patch/my-pkg/mod.test.ts
@@ -0,0 +1,7 @@
+import { add } from "./mod.ts";
+
+Deno.test("add", () => {
+ if (add(1, 2) !== 3) {
+ throw new Error("fail");
+ }
+});