[Pkg-javascript-commits] [node-detective] 17/119: - failing test

Bastien Roucariès rouca at moszumanska.debian.org
Wed Sep 6 09:44:31 UTC 2017


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

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

commit ef335f479282047d2b182177f1091acb2b08df1b
Author: nickolay <nickolay8 at gmail.com>
Date:   Fri Sep 2 14:18:06 2011 +0400

    - failing test
---
 test/files/strings.js | 2 ++
 test/strings.js       | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/test/files/strings.js b/test/files/strings.js
index 36dfad6..1ed9381 100644
--- a/test/files/strings.js
+++ b/test/files/strings.js
@@ -9,3 +9,5 @@ var x = require('doom')(5,6,7);
 x(8,9);
 c.require('notthis');
 var y = require('y') * 100;
+
+var EventEmitter2 = require('events2').EventEmitter();
\ No newline at end of file
diff --git a/test/strings.js b/test/strings.js
index e2ad796..f7a9b9e 100644
--- a/test/strings.js
+++ b/test/strings.js
@@ -4,5 +4,5 @@ var fs = require('fs');
 var src = fs.readFileSync(__dirname + '/files/strings.js');
 
 exports.single = function () {
-    assert.deepEqual(detective(src), [ 'a', 'b', 'c', 'events', 'doom', 'y' ]);
+    assert.deepEqual(detective(src), [ 'a', 'b', 'c', 'events', 'doom', 'y', 'events2' ]);
 };

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



More information about the Pkg-javascript-commits mailing list