Closed nateprewitt closed 8 years ago
Thanks for this!
I'm happy with the change, and have no objection to that test, but I'd also like a more specific test. Can we write a test that cleanly closes one stream? That is, that uses a stream through its lifetime, such that it gets a complete response, and then confirms that it has been removed from everything?
Were you looking for something more along the lines of this? This is what I originally wrote but felt it might exercise unnecessary code.
Yup @nateprewitt, that looks right.
Replaced old test with lifecycle test. The former felt redundant with this one.
Fab, thanks @nateprewitt! :sparkles: :cake: :sparkles:
This addresses #265. Not sure if the test is overkill for such a minor change, but I figured I'd err on the side of 101% coverage :) I'll strip it out if it's unneeded.