Open brunoV opened 10 years ago
Add a test case that asserts that false can be piped through a throttled channel. This is to avoid possible bugs where we check for truthiness instead of nil when deciding whether to close a channel.
false
nil
Add a test case that asserts that
false
can be piped through a throttled channel. This is to avoid possible bugs where we check for truthiness instead ofnil
when deciding whether to close a channel.