[whatwg/streams] Change 3 tests from async_test to promise_test (#537)

Change 3 WritableStream web-platform-tests from async_test to
promise_test. Also make them more idiomatic, and use
recordingWritableStream to avoid having assert statements inside sink
methods.
You can view, comment on, or merge this pull request online at:

  https://github.com/whatwg/streams/pull/537

-- Commit Summary --

  * Change 3 tests from async_test to promise_test

-- File Changes --

    M reference-implementation/to-upstream-wpts/writable-streams/close.https.html (1)
    M reference-implementation/to-upstream-wpts/writable-streams/close.js (121)

-- Patch Links --

https://github.com/whatwg/streams/pull/537.patch
https://github.com/whatwg/streams/pull/537.diff

-- 
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/537

Received on Friday, 14 October 2016 04:24:16 UTC