From 444b765dfc1862afaced6d4f8d84c49e4452180b Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Tue, 13 Jan 2015 13:03:17 -1000 Subject: [PATCH] Remove unused function in _test.js --- test/_test.js | 11 ----------- test/test.js | 11 ----------- 2 files changed, 22 deletions(-) diff --git a/test/_test.js b/test/_test.js index a7386e31..0c95e3e5 100644 --- a/test/_test.js +++ b/test/_test.js @@ -65,17 +65,6 @@ function assertEqualArrayBuffers(ab1, ab2) { assert.deepEqual(new Uint8Array(ab1), new Uint8Array(ab2)); }; -function arrayBufferToHex(buffer) { - var array = new Uint8Array(buffer); - var s = ''; - for (var i in array) { - var h = array[i].toString(16); - if (h.length < 2) { s += '0'; } - s += h; - } - return s; -}; - function hexToArrayBuffer(str) { var ret = new ArrayBuffer(str.length / 2); var array = new Uint8Array(ret); diff --git a/test/test.js b/test/test.js index fac62ce7..0628a9a1 100644 --- a/test/test.js +++ b/test/test.js @@ -10939,17 +10939,6 @@ function assertEqualArrayBuffers(ab1, ab2) { assert.deepEqual(new Uint8Array(ab1), new Uint8Array(ab2)); }; -function arrayBufferToHex(buffer) { - var array = new Uint8Array(buffer); - var s = ''; - for (var i in array) { - var h = array[i].toString(16); - if (h.length < 2) { s += '0'; } - s += h; - } - return s; -}; - function hexToArrayBuffer(str) { var ret = new ArrayBuffer(str.length / 2); var array = new Uint8Array(ret);