[Pkg-javascript-commits] [node-sha.js] 196/237: tests: remove unused generateCount function

Bastien Roucariès rouca at moszumanska.debian.org
Fri May 5 09:03:59 UTC 2017


This is an automated email from the git hooks/post-receive script.

rouca pushed a commit to branch master
in repository node-sha.js.

commit 4a0b0958e287070efe0bc3d9addff9401e4bbf18
Author: Daniel Cousens <github at dcousens.com>
Date:   Sat May 30 13:32:37 2015 +1000

    tests: remove unused generateCount function
---
 test/test.js | 15 ++-------------
 1 file changed, 2 insertions(+), 13 deletions(-)

diff --git a/test/test.js b/test/test.js
index bc2156f..15ad98d 100644
--- a/test/test.js
+++ b/test/test.js
@@ -1,17 +1,6 @@
-
 var crypto = require('crypto')
-var tape   = require('tape')
-var Sha1   = require('../').sha1
-var Uint32toHex = Sha1.Uint32toHex
-
-function generateCount (m) {
-  var s = ''
-  for(var i = 0; i < m/8; i++) {
-    console.log('GENERATE', i, Uint32toHex(i))
-    s+=i
-  }
-  return s
-}
+var tape = require('tape')
+var Sha1 = require('../').sha1
 
 var inputs = [
  ['', 'ascii'],

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-sha.js.git



More information about the Pkg-javascript-commits mailing list