Skip to content

Commit 4b2b386

Browse files
committed
test(embedded): Note our lack of infostring validator
1 parent 941a83e commit 4b2b386

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/cargo/util/toml/embedded.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,7 @@ mod test_expand {
297297

298298
#[test]
299299
fn rustc_dot_in_infostring_leading() {
300+
// We don't validate infostrings besides `info == "cargo"`
300301
assert_source(
301302
r#"---.toml
302303
//~^ ERROR: invalid infostring for frontmatter
@@ -511,6 +512,7 @@ fn main() {}
511512

512513
#[test]
513514
fn rustc_infostring_fail() {
515+
// We don't validate infostrings besides `info == "cargo"`
514516
assert_source(
515517
r#"
516518
---cargo,clippy

0 commit comments

Comments
 (0)