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 })