[Pkg-javascript-commits] [node-sha.js] 04/237: a few more test cases

Bastien Roucariès rouca at moszumanska.debian.org
Fri May 5 09:02:50 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 48ce51b50b62bb53bd6effdfe42be232f31ffa52
Author: Dominic Tarr <dominic.tarr at gmail.com>
Date:   Wed Dec 25 01:29:04 2013 +0700

    a few more test cases
---
 test/test.js | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/test/test.js b/test/test.js
index 5c2fd42..2f509a7 100644
--- a/test/test.js
+++ b/test/test.js
@@ -18,7 +18,10 @@ var inputs = [
  ['abc', 'ascii'],
  ['123', 'ascii'],
  ['123456789abcdef123456789abcdef123456789abcdef123456789abcdef', 'ascii'],
- ['123456789abcdef123456789abcdef123456789abcdef123456789\x12\x34\x56', 'ascii']
+ ['123456789abcdef123456789abcdef123456789abcdef123456789abc', 'ascii'],
+ ['123456789abcdef123456789abcdef123456789abcdef123456789ab', 'ascii'],
+ ['0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcde', 'ascii'],
+ ['0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef', 'ascii']
 ]
 
 tape("hash is the same as node's crypto", function (t) {

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