We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f05a896 commit 11506bbCopy full SHA for 11506bb
tests/testsuite/diagnostics.rs
@@ -1,6 +1,5 @@
1
-#![allow(deprecated)]
2
-
3
use cargo_test_support::project;
+use cargo_test_support::str;
4
5
#[cargo_test]
6
fn dont_panic_on_render() {
@@ -20,15 +19,14 @@ edition = "2021"
20
19
21
p.cargo("check")
22
.with_status(101)
23
- .with_stderr(
24
- "\
25
-error: invalid type: map, expected a sequence
+ .with_stderr_data(str![[r#"
+[ERROR] invalid type: map, expected a sequence
26
--> Cargo.toml:6:3
27
|
28
6 | [[bench.foo]]
29
| ^^^^^
30
31
-",
32
- )
+
+"#]])
33
.run();
34
}
0 commit comments