diff options
author | Ry Dahl <ry@tinyclouds.org> | 2020-01-08 14:59:53 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-08 14:59:53 -0500 |
commit | 2d5457df15d8c4a81362bb2d185b5c6013faa1d8 (patch) | |
tree | ec851e15cb57c494f839de28abdb5a787487f8a5 /cli/tests | |
parent | 7d2d442a77343a3c4ab6c638bd817e51c6cadd2e (diff) |
feat(flags): script arguments come after '--' (#3621)
Diffstat (limited to 'cli/tests')
-rw-r--r-- | cli/tests/integration_tests.rs | 2 | ||||
-rw-r--r-- | cli/tests/std_tests.rs | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/cli/tests/integration_tests.rs b/cli/tests/integration_tests.rs index ee524e990..83b59e1f8 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 7b7928f70..8ad971d7c 100644 --- a/cli/tests/std_tests.rs +++ b/cli/tests/std_tests.rs @@ -23,6 +23,7 @@ mod tests { .arg("-A") // .arg("-Ldebug") .arg("./testing/runner.ts") + .arg("--") .arg("--exclude=testing/testdata") .spawn() .expect("failed to spawn script"); |