Skip to content

Commit

Permalink
Test that it equals "ok"
Browse files Browse the repository at this point in the history
  • Loading branch information
domenic committed Apr 17, 2017
1 parent 694e04e commit 3b53e25
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ test(() => {
const sab = new SharedArrayBuffer(16);
const ta = new Int32Array(sab);

// Test passes if this doesn't throw
Atomics.wait(ta, 0, 0, 10);
assert_equals(Atomics.wait(ta, 0, 0, 10), "ok");
}, `[[CanBlock]] in a ${self.constructor.name}`);

done();

0 comments on commit 3b53e25

Please sign in to comment.