docs(fermata): known limits, config reference and READMEs say what the tests show
Known to fail holds only what known_limits.rs pins or Claude Code's docs state; the multi-line quoted value gets its own limit test. configuration.md follows the code (unknown fields, [enforcement] settings, marks, plain settings, verb classes) and every TOML example of it is loaded by tests/docs_toml_examples.rs. Speed numbers are measured with a release build. matrix.md notes the new refusals.
This commit is contained in:
@@ -170,6 +170,16 @@ fn a_value_after_an_unclosed_quote_is_masked_in_every_spelling_tried() {
|
||||
}
|
||||
}
|
||||
|
||||
/// A closed quote that spans lines swallows the assignment inside it: the file's parser
|
||||
/// reads one value, so `DB_PASSWORD` has no entry of its own, and a program that prints it
|
||||
/// alone shows it. (The value stays masked while it appears inside the whole quoted text.)
|
||||
#[test]
|
||||
fn a_value_inside_a_quoted_value_that_spans_lines_is_not_masked_when_printed_alone() {
|
||||
let p = project(&env_file("API_TOKEN=\"abc\nDB_PASSWORD=fake-swallowed-pass\nOTHER=x\"\n"));
|
||||
let out = p.after_bash("fake-swallowed-pass");
|
||||
assert!(out.contains("fake-swallowed-pass"), "{out}");
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
// Files fermata does not see, and values it cannot tell
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user