test: update vault guidance branding assertions
This commit is contained in:
parent
492e7b5f2b
commit
6e79a56227
@ -97,7 +97,7 @@ mod tests {
|
|||||||
let claude = std::fs::read_to_string(vault_path.join("CLAUDE.md")).unwrap();
|
let claude = std::fs::read_to_string(vault_path.join("CLAUDE.md")).unwrap();
|
||||||
|
|
||||||
assert!(agents.contains("Use the first H1 as the note title."));
|
assert!(agents.contains("Use the first H1 as the note title."));
|
||||||
assert!(agents.contains("Tolaria reads notes recursively from all folders"));
|
assert!(agents.contains("HoloLake Era reads notes recursively from all folders"));
|
||||||
assert!(agents.contains("views/*.yml"));
|
assert!(agents.contains("views/*.yml"));
|
||||||
assert!(claude.starts_with("---\ntype: Note\n_organized: true\n---"));
|
assert!(claude.starts_with("---\ntype: Note\n_organized: true\n---"));
|
||||||
assert!(claude.contains("@AGENTS.md"));
|
assert!(claude.contains("@AGENTS.md"));
|
||||||
|
|||||||
@ -543,7 +543,7 @@ mod tests {
|
|||||||
|
|
||||||
fn assert_required_agents_file_seeded(vault: &Path) {
|
fn assert_required_agents_file_seeded(vault: &Path) {
|
||||||
assert!(vault.join("AGENTS.md").exists());
|
assert!(vault.join("AGENTS.md").exists());
|
||||||
assert!(read_root_agents(vault).contains("Tolaria Vault"));
|
assert!(read_root_agents(vault).contains("HoloLake Era Vault"));
|
||||||
}
|
}
|
||||||
|
|
||||||
fn assert_required_guidance_shims_seeded(vault: &Path) {
|
fn assert_required_guidance_shims_seeded(vault: &Path) {
|
||||||
@ -610,7 +610,7 @@ mod tests {
|
|||||||
write_root_agents(&vault, "");
|
write_root_agents(&vault, "");
|
||||||
|
|
||||||
seed_config_files(vault.to_str().unwrap());
|
seed_config_files(vault.to_str().unwrap());
|
||||||
assert!(read_root_agents(&vault).contains("Tolaria Vault"));
|
assert!(read_root_agents(&vault).contains("HoloLake Era Vault"));
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
@ -694,7 +694,7 @@ mod tests {
|
|||||||
|
|
||||||
assert!(vault.join("AGENTS.md").exists());
|
assert!(vault.join("AGENTS.md").exists());
|
||||||
let root = read_root_agents(&vault);
|
let root = read_root_agents(&vault);
|
||||||
assert!(root.contains("Tolaria Vault"));
|
assert!(root.contains("HoloLake Era Vault"));
|
||||||
assert_eq!(read_root_claude(&vault), CLAUDE_MD_SHIM);
|
assert_eq!(read_root_claude(&vault), CLAUDE_MD_SHIM);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user