- From: Adam Rice <notifications@github.com>
- Date: Wed, 09 Nov 2016 20:31:54 -0800
- To: whatwg/streams <streams@noreply.github.com>
Received on Thursday, 10 November 2016 04:32:27 UTC
ricea commented on this pull request.
> + });
+
+ const reader = ts.readable.getReader();
+
+ results.push(promise_rejects(t, thrownError, reader.read(),
+ 'readable\'s read should reject with the thrown error'));
+
+ results.push(promise_rejects(t, thrownError, reader.closed,
+ 'readable\'s closed should be rejected with the thrown error'));
+
+ const writer = ts.writable.getWriter();
+
+ results.push(promise_rejects(t, thrownError, writer.closed,
+ 'writable\'s closed should be rejected with the thrown error'));
+
+ writer.write('a');
The test rewrite made it clear that write() actually is necessary for the test. Thank you!
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/pull/604
Received on Thursday, 10 November 2016 04:32:27 UTC