- From: Adam Rice <notifications@github.com>
- Date: Thu, 13 Oct 2016 00:01:25 -0700
- To: whatwg/streams <streams@noreply.github.com>
Received on Thursday, 13 October 2016 07:01:57 UTC
ricea commented on this pull request.
> @@ -209,11 +193,8 @@ async_test(t => {
resolveFirstWritePromise();
- writePromise
- .then(t.step_func(() => {
- assert_equals(writeCount, numberOfWrites, `should have called sink's write ${numberOfWrites} times`);
- t.done();
- }))
- .catch(t.step_func(() => assert_unreached('writePromise should not be rejected')));
- }), 0);
+ return writePromise
+ .then(() =>
+ assert_equals(writeCount, numberOfWrites, `should have called sink's write ${numberOfWrites} times`));
done
--
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/534
Received on Thursday, 13 October 2016 07:01:57 UTC