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 ─────────────────────────────────────────────────────────────
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
[package]
|
||||
name = "hello"
|
||||
version = "0.1.0"
|
||||
@@ -0,0 +1,3 @@
|
||||
package "hello" {
|
||||
version "0.1.0"
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
[package]
|
||||
name = "hello-friends"
|
||||
version = "0.1.0"
|
||||
description = "Hello world — first program in Engram"
|
||||
authors = ["Will Anderson"]
|
||||
edition = "2026"
|
||||
@@ -0,0 +1,6 @@
|
||||
package "hello-friends" {
|
||||
version "0.1.0"
|
||||
description "Hello world — first program in Engram"
|
||||
authors ["Will Anderson"]
|
||||
edition "2026"
|
||||
}
|
||||
Reference in New Issue
Block a user