[Pkg-javascript-commits] [node-coveralls] 41/332: fix broken test.

Bastien Roucariès rouca at moszumanska.debian.org
Thu Nov 9 13:53:38 UTC 2017


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

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

commit 01dba7323c708863fff540ef8c4d07e58b149322
Author: cainus <gregg at caines.ca>
Date:   Sun Jun 2 20:35:14 2013 -0700

    fix broken test.
---
 test/convertLcovToCoveralls.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/convertLcovToCoveralls.js b/test/convertLcovToCoveralls.js
index 5483dc7..6883f64 100644
--- a/test/convertLcovToCoveralls.js
+++ b/test/convertLcovToCoveralls.js
@@ -11,7 +11,7 @@ describe("convertLcovToCoveralls", function(){
     convertLcovToCoveralls(input, {filepath: libpath}, function(err, output){
       should.not.exist(err);
       output.source_files[0].name.should.equal("index.js");
-      output.source_files[0].source.split("\n").length.should.equal(225);
+      output.source_files[0].source.split("\n").length.should.equal(173);
       output.source_files[0].coverage[54].should.equal(0);
       output.source_files[0].coverage[60].should.equal(0);
     });
@@ -25,7 +25,7 @@ describe("convertLcovToCoveralls", function(){
     convertLcovToCoveralls(input, {filepath: libpath}, function(err, output){
       should.not.exist(err);
       output.source_files[0].name.should.equal("index.js");
-      output.source_files[0].source.split("\n").length.should.equal(225);
+      output.source_files[0].source.split("\n").length.should.equal(173);
     });
   });
 });

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



More information about the Pkg-javascript-commits mailing list