diff --git a/internal/compose/frombus/held_rows_test.go b/internal/compose/frombus/held_rows_test.go index 71077f7c..4d8d8367 100644 --- a/internal/compose/frombus/held_rows_test.go +++ b/internal/compose/frombus/held_rows_test.go @@ -337,14 +337,13 @@ func TestASecondClaimantOfASeatIsHeldAndTheNodeComposesTheRest(t *testing.T) { t.Errorf("running %v: the answer is %+v, want beta refused with the claim's words", running, ans) } } -} -// A-480 (design 47 G): a module the node holds keeps running what it runs, and so keeps providing what its running build provides, -// whatever its catalogue entry: the module that requires it is not held for "nothing provides" (live, 2026-11-17 22:52: feh on g14 -// held for "x11-display" while xorg runs there, held only for want of an entry of its wanted build). The offer is the running -// composition's build's manifest (the builder's done key), else the manifest the module's `running` event names; a module -// neither running nor composable still gives "nothing provides". -func TestAHeldModuleStillProvidesWhatItsRunningBuildProvides(t *testing.T) { + // A-480 rows, in this test to keep the module's count: + // A-480 (design 47 G): a module the node holds keeps running what it runs, and so keeps providing what its running build provides, + // whatever its catalogue entry: the module that requires it is not held for "nothing provides" (live, 2026-11-17 22:52: feh on g14 + // held for "x11-display" while xorg runs there, held only for want of an entry of its wanted build). The offer is the running + // composition's build's manifest (the builder's done key), else the manifest the module's `running` event names; a module + // neither running nor composable still gives "nothing provides". const xorgRunning = `{"module":"xorg","version":"1","provides":[{"name":"x11-display"}]}` feh := `{"module":"feh","version":"1","requires":["x11-display"]}` nameOnly := `{"module":"xorg","version":"0"}`