Skip to content

Commit af31b0c

Browse files
committed
test(embedded): Note our lack of infostring validator
1 parent 2fa12ab commit af31b0c

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
@@ -229,6 +229,7 @@ mod test_expand {
229229

230230
#[test]
231231
fn rustc_dot_in_infostring_leading() {
232+
// We don't validate infostrings besides `info == "cargo"`
232233
assert_source(
233234
r#"---.toml
234235
//~^ ERROR: invalid infostring for frontmatter
@@ -443,6 +444,7 @@ fn main() {}
443444

444445
#[test]
445446
fn rustc_infostring_fail() {
447+
// We don't validate infostrings besides `info == "cargo"`
446448
assert_source(
447449
r#"
448450
---cargo,clippy

0 commit comments

Comments
 (0)