summaryrefslogtreecommitdiff
path: root/libdeno/libdeno_test.js
diff options
context:
space:
mode:
Diffstat (limited to 'libdeno/libdeno_test.js')
-rw-r--r--libdeno/libdeno_test.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/libdeno/libdeno_test.js b/libdeno/libdeno_test.js
index 5e1430d9e..50f5c03d4 100644
--- a/libdeno/libdeno_test.js
+++ b/libdeno/libdeno_test.js
@@ -136,7 +136,8 @@ global.CheckPromiseErrors = () => {
global.Shared = () => {
const ab = libdeno.shared;
- assert(ab instanceof ArrayBuffer);
+ assert(ab instanceof SharedArrayBuffer);
+ assert(libdeno.shared != undefined);
assert(ab.byteLength === 3);
const ui8 = new Uint8Array(ab);
assert(ui8[0] === 0);