summaryrefslogtreecommitdiff
path: root/cli/tests/integration/test_tests.rs
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2023-02-28 15:10:12 -0400
committerGitHub <noreply@github.com>2023-02-28 15:10:12 -0400
commitea1cb4c2fafb360949d7f2cf7db7215ef2b2e338 (patch)
tree47ca7c0c9bf331db2bd2d9d36356a2c25881a5e5 /cli/tests/integration/test_tests.rs
parent4835098cf7ad2dd0641c14a2adf44ce233ba286c (diff)
chore(test): remove TestCommandOutput macros (#17975)
Diffstat (limited to 'cli/tests/integration/test_tests.rs')
-rw-r--r--cli/tests/integration/test_tests.rs8
1 files changed, 5 insertions, 3 deletions
diff --git a/cli/tests/integration/test_tests.rs b/cli/tests/integration/test_tests.rs
index 0ff09e69d..b9166c510 100644
--- a/cli/tests/integration/test_tests.rs
+++ b/cli/tests/integration/test_tests.rs
@@ -2,7 +2,6 @@
use deno_core::url::Url;
use test_util as util;
-use util::assert_output_file;
use util::env_vars_for_npm_tests;
use util::TestContext;
@@ -417,8 +416,11 @@ fn file_protocol() {
.to_string();
let context = TestContext::default();
- let output = context.new_command().args(format!("test {file_url}")).run();
- assert_output_file!(output, "test/file_protocol.out");
+ context
+ .new_command()
+ .args(format!("test {file_url}"))
+ .run()
+ .assert_matches_file("test/file_protocol.out");
}
itest!(uncaught_errors {