From fdc36cf893c54e4503e3476630e46284300aad32 Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Tue, 10 Mar 2015 12:35:35 -0700 Subject: [PATCH] enable accidentally disabled tests --- test/slice.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/slice.js b/test/slice.js index a9511cb..ba256ca 100644 --- a/test/slice.js +++ b/test/slice.js @@ -3,7 +3,7 @@ var test = require('tape') if (process.env.OBJECT_IMPL) B.TYPED_ARRAY_SUPPORT = false test('modifying buffer created by .slice() modifies original memory', function (t) { - if (!B._useTypedArrays) return t.end() + if (!B.TYPED_ARRAY_SUPPORT) return t.end() var buf1 = new B(26) for (var i = 0 ; i < 26 ; i++) { @@ -20,7 +20,7 @@ test('modifying buffer created by .slice() modifies original memory', function ( }) test('modifying parent buffer modifies .slice() buffer\'s memory', function (t) { - if (!B._useTypedArrays) return t.end() + if (!B.TYPED_ARRAY_SUPPORT) return t.end() var buf1 = new B(26) for (var i = 0 ; i < 26 ; i++) { -- 2.34.1