From 8243c85a47aff3a1c143294482e22f4c49c1ad7b Mon Sep 17 00:00:00 2001 From: David Sherret Date: Fri, 12 Jul 2024 15:35:57 -0400 Subject: fix(publish): show dirty files on dirty check failure (#24541) --- tests/integration/publish_tests.rs | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'tests/integration/publish_tests.rs') 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() -- cgit v1.2.3