Use assert instead of the nonexistent assert.ok (#2510)

This commit is contained in:
Shu-yu Guo 2020-02-24 15:30:05 -08:00 committed by GitHub
parent 6d4b62614b
commit f6b2ccdd09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ const i32a = new Int32Array(
new SharedArrayBuffer(Int32Array.BYTES_PER_ELEMENT * 4)
);
assert.ok(
assert(
Object.is(
Atomics.store(i32a, 0, -0),
+0