Skip to content

Commit 0219e16

Browse files
roccodevMark-Simulacrum
authored andcommitted
Compatibility for rust-lang/rust#69926
1 parent 1aee98a commit 0219e16

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/testsuite/build.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -3175,13 +3175,13 @@ fn compiler_json_error_format() {
31753175

31763176
// Use `jobs=1` to ensure that the order of messages is consistent.
31773177
p.cargo("build -v --message-format=json --jobs=1")
3178-
.with_json(&output("false"))
3178+
.with_json_contains_unordered(&output("false"))
31793179
.run();
31803180

31813181
// With fresh build, we should repeat the artifacts,
31823182
// and replay the cached compiler warnings.
31833183
p.cargo("build -v --message-format=json --jobs=1")
3184-
.with_json(&output("true"))
3184+
.with_json_contains_unordered(&output("true"))
31853185
.run();
31863186
}
31873187

@@ -3210,7 +3210,7 @@ fn message_format_json_forward_stderr() {
32103210
.build();
32113211

32123212
p.cargo("rustc --release --bin foo --message-format JSON")
3213-
.with_json(
3213+
.with_json_contains_unordered(
32143214
r#"
32153215
{
32163216
"reason":"compiler-message",

0 commit comments

Comments
 (0)