From 34f55bdf7926f08224efe2b4a358d29131402ec2 Mon Sep 17 00:00:00 2001 From: jochen Date: Sun, 22 Nov 2026 00:06:07 +0100 Subject: [PATCH] RG1: the bounded steps' finding test joins their one test function MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Builds: design 47 H2 ยง819 --- modules/distribution/cmd/distribution-tools/bounded_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/distribution/cmd/distribution-tools/bounded_test.go b/modules/distribution/cmd/distribution-tools/bounded_test.go index 47acf3d3d..04b1c0331 100644 --- a/modules/distribution/cmd/distribution-tools/bounded_test.go +++ b/modules/distribution/cmd/distribution-tools/bounded_test.go @@ -13,6 +13,7 @@ func TestTheBoundedSteps(t *testing.T) { t.Run("a hung step answers with its name", hungStepAnswersWithItsName) t.Run("a given-up step says when its call ended", givenUpStepSaysWhenItsCallEnded) t.Run("a deleted chunk is purged", deletedChunkIsPurged) + t.Run("a finding is said off the path", findingIsSaidOffThePath) } // A bus operation that never answers becomes an error naming its step, within the bound. @@ -59,7 +60,7 @@ func givenUpStepSaysWhenItsCallEnded(t *testing.T) { } // The finding is said off the caller's path: a writer that never answers does not hold the call that says it. -func TestAFindingIsSaidOffThePath(t *testing.T) { +func findingIsSaidOffThePath(t *testing.T) { block := make(chan struct{}) defer close(block) say := boundedFinding(func(string, string, string, bool) { <-block })