Skip to content

Commit 1337114

Browse files
committed
Fix test
1 parent c56349f commit 1337114

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

tests/testsuite/cfg.rs

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -944,10 +944,16 @@ fn cfg_bad_version3() {
944944
p.cargo("check")
945945
.with_status(101)
946946
.with_stderr_data(str![[r#"
947-
[ERROR] failed to parse manifest at `[ROOT]/foo/Cargo.toml`
948-
949-
Caused by:
950-
failed to parse `version = "1.87.0"` as a cfg expression: expected `(`, found `=`
947+
[LOCKING] 1 package to latest compatible version
948+
[CHECKING] foo v0.0.0 ([ROOT]/foo)
949+
error[E0463]: can't find crate for `b`
950+
--> src/lib.rs:1:1
951+
|
952+
1 | extern crate b;
953+
| ^^^^^^^^^^^^^^^ can't find crate
954+
955+
For more information about this error, try `rustc --explain E0463`.
956+
[ERROR] could not compile `foo` (lib) due to 1 previous error
951957
952958
"#]])
953959
.run();

0 commit comments

Comments
 (0)