Commit a0915703 authored by gsathya's avatar gsathya Committed by Commit bot

[tests] make the function expression, an iife to run the test

R=neis@chromium.org

Review-Url: https://codereview.chromium.org/2690163004
Cr-Commit-Position: refs/heads/master@{#43180}
parent be1a5f75
......@@ -982,7 +982,7 @@ function assertAsyncDone(iteration) {
var promise = new Promise(function(res) { resolve = res; });
resolve({ then() { thenCalled = true; throw new Error(); } });
assertLater(function() { return thenCalled; }, "resolve-with-thenable");
});
})();
(function() {
var calledWith;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment