From 0c8a270471fe71506261be6f8c52fd4e16b6c08d Mon Sep 17 00:00:00 2001 From: Jeroen Schweitzer Date: Thu, 16 Jul 2026 11:45:57 +0200 Subject: [PATCH] =?UTF-8?q?style(simulation):=20cargo=20fmt=20=E2=80=94=20?= =?UTF-8?q?test=20fixture=20tuple=20layout?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Fable 5 --- server/src/atlas/city_context_reader.rs | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/server/src/atlas/city_context_reader.rs b/server/src/atlas/city_context_reader.rs index 17b77082b..0cd2ee12e 100644 --- a/server/src/atlas/city_context_reader.rs +++ b/server/src/atlas/city_context_reader.rs @@ -1178,9 +1178,24 @@ mod tests { // path as any other city) — indistinguishable in shape from the // ordinary pooled cities "Tributarium"/"Ruhr" it sits alongside. let db = make_settlements_db(&[ - ("Tributarium", "manufacturing", 2_727_273_224, Some("PopulationBudget")), - ("Ruhr", "manufacturing", 1_363_636_611, Some("PopulationBudget")), - ("Gate Corporation", "manufacturing", 909_090_165, Some("NameLocked")), + ( + "Tributarium", + "manufacturing", + 2_727_273_224, + Some("PopulationBudget"), + ), + ( + "Ruhr", + "manufacturing", + 1_363_636_611, + Some("PopulationBudget"), + ), + ( + "Gate Corporation", + "manufacturing", + 909_090_165, + Some("NameLocked"), + ), ]); let reader = CityContextReader::open(&db).expect("open"); let cities = reader.read_body_settlements("PlanetX").expect("read");