From 9930e264b05bb3e0d680fd7206d7a7b0c6634c0b Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Wed, 16 Sep 2015 14:23:13 -0700 Subject: [PATCH] standard --- test/methods.js | 2 +- test/slice.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/methods.js b/test/methods.js index f45f72d..f4bd3f2 100644 --- a/test/methods.js +++ b/test/methods.js @@ -16,7 +16,7 @@ test('buffer.copy', function (t) { var buf1 = new B(26) var buf2 = new B(26) - for (var i = 0 ; i < 26 ; i++) { + for (var i = 0; i < 26; i++) { buf1[i] = i + 97 // 97 is ASCII a buf2[i] = 33 // ASCII ! } diff --git a/test/slice.js b/test/slice.js index d4adb39..25c111c 100644 --- a/test/slice.js +++ b/test/slice.js @@ -6,7 +6,7 @@ test('modifying buffer created by .slice() modifies original memory', function ( if (!B.TYPED_ARRAY_SUPPORT) return t.end() var buf1 = new B(26) - for (var i = 0 ; i < 26 ; i++) { + for (var i = 0; i < 26; i++) { buf1[i] = i + 97 // 97 is ASCII a } @@ -23,7 +23,7 @@ test('modifying parent buffer modifies .slice() buffer\'s memory', function (t) if (!B.TYPED_ARRAY_SUPPORT) return t.end() var buf1 = new B(26) - for (var i = 0 ; i < 26 ; i++) { + for (var i = 0; i < 26; i++) { buf1[i] = i + 97 // 97 is ASCII a } -- 2.34.1