Auto merge of #14282 - linyihai:fix-test, r=epage

test: Fix some test based on rustc version

### What does this PR try to resolve?

Some test ouput specifies the latest rustc version and will failed when the rustc version get updated

### How should we test and review this PR?

### Additional information
This commit is contained in:
bors 2024-07-22 14:38:38 +00:00
commit 693d49c3a1
2 changed files with 1 additions and 2 deletions

View File

@ -6419,7 +6419,6 @@ fn pipelining_big_graph() {
.with_stderr_data( .with_stderr_data(
str![[r#" str![[r#"
[LOCKING] 61 packages to latest compatible versions [LOCKING] 61 packages to latest compatible versions
[COMPILING] b30 v0.5.0 ([ROOT]/foo/b30)
[COMPILING] a30 v0.5.0 ([ROOT]/foo/a30) [COMPILING] a30 v0.5.0 ([ROOT]/foo/a30)
[ERROR] don't actually build me [ERROR] don't actually build me
... ...

View File

@ -127,7 +127,7 @@ unused_optional_dependency = "allow"
.masquerade_as_nightly_cargo(&["cargo-lints", "edition2024"]) .masquerade_as_nightly_cargo(&["cargo-lints", "edition2024"])
.with_stderr_data(str![[r#" .with_stderr_data(str![[r#"
[UPDATING] `dummy-registry` index [UPDATING] `dummy-registry` index
[LOCKING] 2 packages to latest Rust 1.81.0-nightly compatible versions [LOCKING] 2 packages to latest Rust [..] compatible versions
[CHECKING] foo v0.1.0 ([ROOT]/foo) [CHECKING] foo v0.1.0 ([ROOT]/foo)
[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s [FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s