diff options
Diffstat (limited to 'storage/test/unit/test_connection_executeAsync.js')
-rw-r--r-- | storage/test/unit/test_connection_executeAsync.js | 20 |
1 files changed, 6 insertions, 14 deletions
diff --git a/storage/test/unit/test_connection_executeAsync.js b/storage/test/unit/test_connection_executeAsync.js index a77299ba3b..49071bbfed 100644 --- a/storage/test/unit/test_connection_executeAsync.js +++ b/storage/test/unit/test_connection_executeAsync.js @@ -49,13 +49,9 @@ add_task(async function test_first_create_and_add() { stmts[1].bindBlobByIndex(3, BLOB, BLOB.length); // asynchronously execute the statements - let execResult = await executeMultipleStatementsAsync( - db, - stmts, - function (aResultSet) { - ok(false, "we only did inserts so we should not have gotten results!"); - } - ); + let execResult = await executeMultipleStatementsAsync(db, stmts, function () { + ok(false, "we only did inserts so we should not have gotten results!"); + }); equal( Ci.mozIStorageStatementCallback.REASON_FINISHED, execResult, @@ -142,13 +138,9 @@ add_task(async function test_last_multiple_bindings_on_statements() { } // Execute asynchronously. - let execResult = await executeMultipleStatementsAsync( - db, - stmts, - function (aResultSet) { - ok(false, "we only did inserts so we should not have gotten results!"); - } - ); + let execResult = await executeMultipleStatementsAsync(db, stmts, function () { + ok(false, "we only did inserts so we should not have gotten results!"); + }); equal( Ci.mozIStorageStatementCallback.REASON_FINISHED, execResult, |