TestTwoStops was just checking that the second Stop() didn't panic nor block; I've folded it into the previous test as you suggested, because there the state after the first Stop() is ensured by the select (I'd have to copy the test all over again, otherwise, really).
TestTwoStops was just checking that the second Stop() didn't panic nor block; I've folded it into the previous test as you suggested, because there the state after the first Stop() is ensured by the select (I'd have to copy the test all over again, otherwise, really).