summaryrefslogtreecommitdiff
path: root/cli/tests
diff options
context:
space:
mode:
authorRy Dahl <ry@tinyclouds.org>2020-01-15 19:21:35 -0500
committerGitHub <noreply@github.com>2020-01-15 19:21:35 -0500
commita4dde552de8fced4cfdff7f0127b51e1d2eabca5 (patch)
tree6590ed26f995522746948601b281987ece5c8ff3 /cli/tests
parent3eab20ce42458fced42dcd031958b07113322e0a (diff)
Revert "feat(flags): script arguments come after '--'" (#3681)
Due to complaints about ergonomics and because it breaks shebang on linux. This reverts commit 2d5457df15d8c4a81362bb2d185b5c6013faa1d8. BREAKING CHANGE
Diffstat (limited to 'cli/tests')
-rw-r--r--cli/tests/integration_tests.rs2
-rw-r--r--cli/tests/std_tests.rs1
2 files changed, 1 insertions, 2 deletions
diff --git a/cli/tests/integration_tests.rs b/cli/tests/integration_tests.rs
index 91c30a51d..eea1dd2c9 100644
--- a/cli/tests/integration_tests.rs
+++ b/cli/tests/integration_tests.rs
@@ -253,7 +253,7 @@ itest!(_027_redirect_typescript {
});
itest!(_028_args {
- args: "run --reload 028_args.ts -- --arg1 val1 --arg2=val2 -- arg3 arg4",
+ args: "run --reload 028_args.ts --arg1 val1 --arg2=val2 -- arg3 arg4",
output: "028_args.ts.out",
});
diff --git a/cli/tests/std_tests.rs b/cli/tests/std_tests.rs
index 8ad971d7c..7b7928f70 100644
--- a/cli/tests/std_tests.rs
+++ b/cli/tests/std_tests.rs
@@ -23,7 +23,6 @@ mod tests {
.arg("-A")
// .arg("-Ldebug")
.arg("./testing/runner.ts")
- .arg("--")
.arg("--exclude=testing/testdata")
.spawn()
.expect("failed to spawn script");