style: rustfmt seed.rs and getting_started.rs
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -467,7 +467,10 @@ mod tests {
|
||||
migrate_theme_dir_to_root(vp);
|
||||
|
||||
let content = fs::read_to_string(vault.join("default-theme.md")).unwrap();
|
||||
assert!(content.contains("#CUSTOM"), "must preserve existing root file");
|
||||
assert!(
|
||||
content.contains("#CUSTOM"),
|
||||
"must preserve existing root file"
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
||||
@@ -543,10 +543,7 @@ mod tests {
|
||||
create_getting_started_vault(vault_path.to_str().unwrap()).unwrap();
|
||||
|
||||
let agents_path = vault_path.join("AGENTS.md");
|
||||
assert!(
|
||||
agents_path.exists(),
|
||||
"AGENTS.md should exist at vault root"
|
||||
);
|
||||
assert!(agents_path.exists(), "AGENTS.md should exist at vault root");
|
||||
|
||||
let content = fs::read_to_string(&agents_path).unwrap();
|
||||
assert!(content.contains("Vault Instructions for AI Agents"));
|
||||
|
||||
Reference in New Issue
Block a user