[Pkg-javascript-commits] [node-sha.js] 21/237: remove redundant tests

Bastien Roucariès rouca at moszumanska.debian.org
Fri May 5 09:02:51 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 9c701f4b390b25fd154f85f6b8a5b187542bc463
Author: Dominic Tarr <dominic.tarr at gmail.com>
Date:   Fri Dec 27 08:46:20 2013 +0700

    remove redundant tests
---
 test/test.js | 22 ----------------------
 1 file changed, 22 deletions(-)

diff --git a/test/test.js b/test/test.js
index 199add4..d3d4916 100644
--- a/test/test.js
+++ b/test/test.js
@@ -59,7 +59,6 @@ tape('call update multiple times', function (t) {
   t.end()
 })
 
-
 tape('call update twice', function (t) {
 
   var _hash = crypto.createHash('sha1')
@@ -81,24 +80,3 @@ tape('call update twice', function (t) {
   t.end()
 })
 
-//to test what happens when updated data overlaps edge of
-//working buffer...
-//tape('append message 5 times', function (t) {
-//  var n = 1
-//  //inputs.forEach(function (v) {
-//    var v = inputs[4]
-//    console.log('HASH', v, v[0].length)
-//    var hash = new Sha1()
-//    var _hash = crypto.createHash('sha1')
-//    for(var i = 0; i < 5; i++) {
-//      hash.update(v[0], v[1])
-//      _hash.update(v[0], v[1])
-//    }
-//    var a = hash.digest('hex')
-//    var e = _hash.digest('hex')
-//    console.log(a, e)
-//    t.equal(a, e)
-//  //})
-//  t.end()
-//})
-//

-- 
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