From febd1090411ecd249a52a4a29a0c21e317ff86a2 Mon Sep 17 00:00:00 2001 From: vickydotbat Date: Thu, 9 Apr 2026 23:49:53 +0200 Subject: [PATCH] topdata_test fix --- internal/topdata/topdata_test.go | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/internal/topdata/topdata_test.go b/internal/topdata/topdata_test.go index de6b081..1448af0 100644 --- a/internal/topdata/topdata_test.go +++ b/internal/topdata/topdata_test.go @@ -6273,7 +6273,7 @@ func TestNormalizeProjectImportsLegacyPlaceables(t *testing.T) { }`+"\n") writeFile(t, filepath.Join(root, "reference", "data", "placeables", "lock.json"), `{ "placeables:armoire": 0, - "placeable:tmp_crappile01": 16500 + "placeables:tmp_crappile01": 16500 }`+"\n") for _, name := range []string{ "add_ccfeb2019plcs.json", @@ -6293,7 +6293,7 @@ func TestNormalizeProjectImportsLegacyPlaceables(t *testing.T) { } writeFile(t, filepath.Join(root, "reference", "data", "placeables", "modules", "add_avernostragarbage.json"), `{ "entries": { - "placeable:tmp_crappile01": { + "placeables:tmp_crappile01": { "Label": "Decoration: Pile 1 (Avernostra)", "ModelName": "tmp_crappile01", "Static": 1 @@ -6335,7 +6335,7 @@ func TestNormalizeProjectImportsLegacyPlaceables(t *testing.T) { if err != nil { t.Fatalf("read placeables lock: %v", err) } - if !strings.Contains(string(lockRaw), `"placeable:tmp_crappile01": 16500`) { + if !strings.Contains(string(lockRaw), `"placeables:tmp_crappile01": 16500`) { t.Fatalf("expected imported placeables lock IDs, got:\n%s", string(lockRaw)) } } @@ -7399,7 +7399,7 @@ func TestBuildSupportsCanonicalPlaceables(t *testing.T) { }`+"\n") writeFile(t, filepath.Join(root, "topdata", "data", "placeables", "lock.json"), `{ "placeables:armoire": 0, - "placeable:tmp_crappile01": 16500 + "placeables:tmp_crappile01": 16500 }`+"\n") for _, name := range []string{ "add_ccfeb2019plcs.json", @@ -7419,7 +7419,7 @@ func TestBuildSupportsCanonicalPlaceables(t *testing.T) { } writeFile(t, filepath.Join(root, "topdata", "data", "placeables", "modules", "add_avernostragarbage.json"), `{ "entries": { - "placeable:tmp_crappile01": { + "placeables:tmp_crappile01": { "Label": "Decoration: Pile 1 (Avernostra)", "ModelName": "tmp_crappile01", "Static": 1 @@ -7485,7 +7485,7 @@ with open(os.path.join(tlk, "sow_tlk.tlk"), "wb") as f: }`+"\n") writeFile(t, filepath.Join(root, "reference", "data", "placeables", "lock.json"), `{ "placeables:armoire": 0, - "placeable:tmp_crappile01": 16500 + "placeables:tmp_crappile01": 16500 }`+"\n") for _, name := range []string{ "add_ccfeb2019plcs.json", @@ -7505,7 +7505,7 @@ with open(os.path.join(tlk, "sow_tlk.tlk"), "wb") as f: } writeFile(t, filepath.Join(root, "reference", "data", "placeables", "modules", "add_avernostragarbage.json"), `{ "entries": { - "placeable:tmp_crappile01": { + "placeables:tmp_crappile01": { "Label": "Decoration: Pile 1 (Avernostra)", "ModelName": "tmp_crappile01", "Static": 1