Archived
Replace el.toml with manifest.el throughout — El manifests are El, not TOML
This commit is contained in:
@@ -92,8 +92,8 @@ async fn test_list_files_contains_src_dir() {
|
||||
let (status, json) = get_json(app, "/api/files?path=.").await;
|
||||
assert_eq!(status, StatusCode::OK);
|
||||
let arr = json.as_array().unwrap();
|
||||
let has_src = arr.iter().any(|e| e["name"] == "src" || e["name"] == "el.toml");
|
||||
assert!(has_src, "expected src or el.toml in listing; got {arr:?}");
|
||||
let has_src = arr.iter().any(|e| e["name"] == "src" || e["name"] == "manifest.el");
|
||||
assert!(has_src, "expected src or manifest.el in listing; got {arr:?}");
|
||||
}
|
||||
|
||||
// ── GET /api/file ─────────────────────────────────────────────────────────────
|
||||
|
||||
Reference in New Issue
Block a user