From 3cb7f2cb0aae9e2762935efcfafaa55213ea8be6 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Thu, 3 Dec 2026 05:05:16 +0100 Subject: [PATCH] playtest: keep the atlas module a flat sibling file; api tests read every src entry as a file Co-Authored-By: Claude Sonnet 5.5 --- crates/ghostlight-dungeon/src/playtest.rs | 2 ++ .../src/{playtest/atlas.rs => playtest_atlas.rs} | 0 2 files changed, 2 insertions(+) rename crates/ghostlight-dungeon/src/{playtest/atlas.rs => playtest_atlas.rs} (100%) diff --git a/crates/ghostlight-dungeon/src/playtest.rs b/crates/ghostlight-dungeon/src/playtest.rs index ed73bce..a7d0897 100644 --- a/crates/ghostlight-dungeon/src/playtest.rs +++ b/crates/ghostlight-dungeon/src/playtest.rs @@ -42,6 +42,8 @@ use std::{ use tokio::sync::{Mutex, mpsc}; use tower::ServiceExt; +// A sibling file, not a subdirectory: two api tests read every entry of src/ as a file. +#[path = "playtest_atlas.rs"] mod atlas; const PLAN_JSON: &str = include_str!("../playtest/plan.json"); diff --git a/crates/ghostlight-dungeon/src/playtest/atlas.rs b/crates/ghostlight-dungeon/src/playtest_atlas.rs similarity index 100% rename from crates/ghostlight-dungeon/src/playtest/atlas.rs rename to crates/ghostlight-dungeon/src/playtest_atlas.rs