summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/integration/publish_tests.rs12
1 files changed, 10 insertions, 2 deletions
diff --git a/tests/integration/publish_tests.rs b/tests/integration/publish_tests.rs
index 26acbd244..1bff2094d 100644
--- a/tests/integration/publish_tests.rs
+++ b/tests/integration/publish_tests.rs
@@ -413,8 +413,16 @@ fn allow_dirty() {
.arg("sadfasdf")
.run();
output.assert_exit_code(1);
- let output = output.combined_output();
- assert_contains!(output, "Aborting due to uncommitted changes. Check in source code or run with --allow-dirty");
+ output.assert_matches_text(r#"Check [WILDLINE]
+Checking for slow types in the public API...
+
+Uncommitted changes:
+
+?? deno.json
+?? main.ts
+
+error: Aborting due to uncommitted changes. Check in source code or run with --allow-dirty
+"#);
let output = context
.new_command()