diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2024-07-12 15:35:57 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-12 15:35:57 -0400 |
commit | 8243c85a47aff3a1c143294482e22f4c49c1ad7b (patch) | |
tree | ab53ca5a2757211df6bc28fc8d74f03fb3481092 /tests/integration/publish_tests.rs | |
parent | 9510a8b7d19798f08a6513ee303a63247306bc66 (diff) |
fix(publish): show dirty files on dirty check failure (#24541)
Diffstat (limited to 'tests/integration/publish_tests.rs')
-rw-r--r-- | tests/integration/publish_tests.rs | 12 |
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() |