summaryrefslogtreecommitdiff
path: root/bundle/test.ts
diff options
context:
space:
mode:
authorKitson Kelly <me@kitsonkelly.com>2019-06-22 10:02:53 +1000
committerRyan Dahl <ry@tinyclouds.org>2019-06-21 17:02:53 -0700
commita02c3bd38873379b045c01241f54c843bca6aff5 (patch)
treeb45c21c61d026c882982c8a140b08921505031b7 /bundle/test.ts
parent684805919aaf4b3a73c7e2a82acfa4fd19b0fa10 (diff)
bundle/run handles Deno.args better. (denoland/deno_std#514)
Original: https://github.com/denoland/deno_std/commit/02262c61612fdeda1ddd9e987f04f320d17b0c89
Diffstat (limited to 'bundle/test.ts')
-rw-r--r--bundle/test.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/bundle/test.ts b/bundle/test.ts
index b66c782bc..d618e202b 100644
--- a/bundle/test.ts
+++ b/bundle/test.ts
@@ -64,7 +64,7 @@ fixtureModules.set("modA", {
});
test(async function loadBundle(): Promise<void> {
- const result = await load(["", "./bundle/testdata/bundle.js"]);
+ const result = await load(["", "./bundle/testdata/bundle.js", "--foo"]);
assert(result != null);
assert(
result.includes(
@@ -79,7 +79,7 @@ test(async function loadBadArgs(): Promise<void> {
await load(["bundle/test.ts"]);
},
AssertionError,
- "Expected exactly two arguments."
+ "Expected at least two arguments."
);
});