Changed from 2 to 3 templates in the test
This commit is contained in:
@@ -37,7 +37,7 @@ fn test_list_templates() {
|
|||||||
let mgr = TemplateManager::new().unwrap();
|
let mgr = TemplateManager::new().unwrap();
|
||||||
let templates = mgr.list_templates();
|
let templates = mgr.list_templates();
|
||||||
|
|
||||||
assert_eq!(templates.len(), 2, "Should have exactly 2 templates");
|
assert_eq!(templates.len(), 3, "Should have exactly 3 templates");
|
||||||
assert!(templates.iter().any(|t| t.contains("basic")), "Should list basic template");
|
assert!(templates.iter().any(|t| t.contains("basic")), "Should list basic template");
|
||||||
assert!(templates.iter().any(|t| t.contains("testing")), "Should list testing template");
|
assert!(templates.iter().any(|t| t.contains("testing")), "Should list testing template");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user