diff options
| author | David Sherret <dsherret@users.noreply.github.com> | 2023-09-14 12:21:57 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-14 16:21:57 +0000 |
| commit | 54890ee98b9068af41214b86fb693135f0998a0a (patch) | |
| tree | 9a64837d6ccfacafce6139f47c9cddb512de426d /cli/tests/integration/run_tests.rs | |
| parent | 851f795001a9164572d02606587ddc5193bdfd2d (diff) | |
chore(tests): ability to pattern match unordered lines (#20488)
This adds the ability to pattern match unordered lines. For example, the
downloading messages may appear in any order
```
[UNORDERED_START]
Download https://localhost:4546/a.ts
Download https://localhost:4546/b.ts
[UNORDERED_END]
Hello!
```
Additionally, I've made the pattern matching slightly more strict and the output better.
Diffstat (limited to 'cli/tests/integration/run_tests.rs')
| -rw-r--r-- | cli/tests/integration/run_tests.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/tests/integration/run_tests.rs b/cli/tests/integration/run_tests.rs index 0edfe1c48..be9bc554a 100644 --- a/cli/tests/integration/run_tests.rs +++ b/cli/tests/integration/run_tests.rs @@ -870,7 +870,7 @@ itest!(lock_write_fetch { itest!(lock_check_ok { args: - "run --lock=run/lock_check_ok.json http://127.0.0.1:4545/run/003_relative_import.ts", + "run --quiet --lock=run/lock_check_ok.json http://127.0.0.1:4545/run/003_relative_import.ts", output: "run/003_relative_import.ts.out", http_server: true, }); @@ -917,7 +917,7 @@ itest!(lock_flag_overrides_config_file_lock_path { itest!(lock_v2_check_ok { args: - "run --lock=run/lock_v2_check_ok.json http://127.0.0.1:4545/run/003_relative_import.ts", + "run --quiet --lock=run/lock_v2_check_ok.json http://127.0.0.1:4545/run/003_relative_import.ts", output: "run/003_relative_import.ts.out", http_server: true, }); |
