Skip to content

Commit 5e1a647

Browse files
committed
refactor(tests): Consistent predicate ordering
1 parent af82aa0 commit 5e1a647

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/testsuite/publish.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -921,8 +921,8 @@ fn publish_with_no_default_features() {
921921

922922
p.cargo("publish --no-default-features")
923923
.replace_crates_io(registry.index_url())
924-
.with_stderr_contains("error: This crate requires `required` feature!")
925924
.with_status(101)
925+
.with_stderr_contains("error: This crate requires `required` feature!")
926926
.run();
927927
}
928928

@@ -964,8 +964,8 @@ fn publish_with_patch() {
964964
// Check that verify fails with patched crate which has new functionality.
965965
p.cargo("publish")
966966
.replace_crates_io(registry.index_url())
967-
.with_stderr_contains("[..]newfunc[..]")
968967
.with_status(101)
968+
.with_stderr_contains("[..]newfunc[..]")
969969
.run();
970970

971971
// Remove the usage of new functionality and try again.

0 commit comments

Comments
 (0)