Test suite fail
bastien-roucaries opened this issue · comments
Could you please include this patch from debian:
diff --git a/test/index.js b/test/index.js
index 7b5f3de..d631144 100644
--- a/test/index.js
+++ b/test/index.js
@@ -59,12 +59,12 @@ describe("logdriver", function(){
mylogger.error("error test");
mylogger.trace("trace test");
var lines = logged.split("\n");
- lines[0].should.include('[info]');
- lines[1].should.include('[warn]');
- lines[2].should.include('[error]');
- lines[0].should.include('info test');
- lines[1].should.include('warn test');
- lines[2].should.include('error test');
+ should.ok(lines[0].includes('[info]'));
+ should.ok(lines[1].includes('[warn]'));
+ should.ok(lines[2].includes('[error]'));
+ should.ok(lines[0].includes('info test'));
+ should.ok(lines[1].includes('warn test'));
+ should.ok(lines[2].includes('error test'));
});
thanks!