Re: [whatwg/streams] Eliminate usages of async_test (#534)

ricea commented on this pull request.



> @@ -29,40 +24,38 @@ promise_test(t => {
   writer.write('a');
   assert_equals(writer.desiredSize, 0, 'desiredSize should be 0 after writer.write()');
 
-  // Wait and verify that write isn't be called.
-  return delay(100).then(() => {
-    expectWriteCall = true;
-    resolveStartPromise();
-    return writer.ready;
-  });
+  // Wait and verify that write isn't called.
+  return delay(100)
+      .then(() => {
+        expectWriteCall = true;

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:48 UTC