diff options
author | Matt Mastracci <matthew@mastracci.com> | 2023-12-13 08:07:26 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-13 08:07:26 -0700 |
commit | 76a6ea57753be420398d3eba8f313a6c98eab8c3 (patch) | |
tree | 66c95d582b711aa4f4234943f5526b98c8176210 /cli/tests/integration/inspector_tests.rs | |
parent | 461ef6bdd80347caa12934c2c16337bc8d40d9a4 (diff) |
refactor(cli): update to new deno_core promise/call methods (#21519)
Diffstat (limited to 'cli/tests/integration/inspector_tests.rs')
-rw-r--r-- | cli/tests/integration/inspector_tests.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/cli/tests/integration/inspector_tests.rs b/cli/tests/integration/inspector_tests.rs index 36d469196..41c126cdb 100644 --- a/cli/tests/integration/inspector_tests.rs +++ b/cli/tests/integration/inspector_tests.rs @@ -869,7 +869,11 @@ async fn inspector_break_on_first_line_in_test() { .await; assert_starts_with!(&tester.stdout_line(), "running 1 test from"); - assert!(&tester.stdout_line().contains("basic test ... ok")); + let line = tester.stdout_line(); + assert!( + &line.contains("basic test ... ok"), + "Missing content: {line}" + ); tester.child.kill().unwrap(); tester.child.wait().unwrap(); |