summaryrefslogtreecommitdiff
path: root/cli/tests/integration/test_tests.rs
diff options
context:
space:
mode:
authorLuca Casonato <hello@lcas.dev>2023-09-14 16:38:15 +0200
committerGitHub <noreply@github.com>2023-09-14 16:38:15 +0200
commit851f795001a9164572d02606587ddc5193bdfd2d (patch)
tree77a129ff766013dd9ea0cb83d6a84a40e4f1f0f7 /cli/tests/integration/test_tests.rs
parentbbb348aa33b56e15f376e8e7ee7b71bd5badd936 (diff)
fix: output traces for op sanitizer in more cases (#20494)
This adds traces for the "started outside test, closed inside test" case.
Diffstat (limited to 'cli/tests/integration/test_tests.rs')
-rw-r--r--cli/tests/integration/test_tests.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/cli/tests/integration/test_tests.rs b/cli/tests/integration/test_tests.rs
index 042e84078..b4bf842ff 100644
--- a/cli/tests/integration/test_tests.rs
+++ b/cli/tests/integration/test_tests.rs
@@ -255,6 +255,12 @@ itest!(trace_ops_catch_error {
// output: "test/ops_sanitizer_missing_details.out",
// });
+itest!(ops_sanitizer_closed_inside_started_before {
+ args: "test --trace-ops test/ops_sanitizer_closed_inside_started_before.ts",
+ exit_code: 1,
+ output: "test/ops_sanitizer_closed_inside_started_before.out",
+});
+
itest!(ops_sanitizer_nexttick {
args: "test --no-check test/ops_sanitizer_nexttick.ts",
output: "test/ops_sanitizer_nexttick.out",