mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1239354: Replace old-style generator function with star functions. r=asuth
This commit is contained in:
parent
015f2098fb
commit
6278f7672e
@ -53,7 +53,7 @@ add_task(function* test_asyncClose_does_not_complete_before_statements() {
|
||||
* async thread is not available and fall back to invoking Close() which will
|
||||
* notice the mDBConn is already gone.
|
||||
*/
|
||||
add_task(function test_double_asyncClose_throws() {
|
||||
add_task(function* test_double_asyncClose_throws() {
|
||||
let db = yield openAsyncDatabase(getTestDB());
|
||||
|
||||
// (Don't yield control flow yet, save the promise for after we make the
|
||||
@ -115,7 +115,7 @@ add_task(function* test_asyncClose_failed_open() {
|
||||
* callback the shutdown is not actually observable, so we run this test last
|
||||
* in order to avoid weird overlaps.
|
||||
*/
|
||||
add_task(function test_asyncClose_does_not_throw_without_callback() {
|
||||
add_task(function* test_asyncClose_does_not_throw_without_callback() {
|
||||
let db = yield openAsyncDatabase(getTestDB());
|
||||
// Branch coverage: (asyncThread && mDBConn)
|
||||
db.asyncClose();
|
||||
|
Loading…
Reference in New Issue
Block a user