mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-25 11:14:46 +00:00
test(embedded): Note our lack of infostring validator
This commit is contained in:
parent
b4c96847f2
commit
5b6d5df49a
@ -229,6 +229,7 @@ mod test_expand {
|
||||
|
||||
#[test]
|
||||
fn rustc_dot_in_infostring_leading() {
|
||||
// We don't validate infostrings besides `info == "cargo"`
|
||||
assert_source(
|
||||
r#"---.toml
|
||||
//~^ ERROR: invalid infostring for frontmatter
|
||||
@ -443,6 +444,7 @@ fn main() {}
|
||||
|
||||
#[test]
|
||||
fn rustc_infostring_fail() {
|
||||
// We don't validate infostrings besides `info == "cargo"`
|
||||
assert_source(
|
||||
r#"
|
||||
---cargo,clippy
|
||||
|
Loading…
x
Reference in New Issue
Block a user