async-flumelog
Advanced tools
Comparing version 1.0.2 to 1.0.3
{ | ||
"name": "async-flumelog", | ||
"description": "An async flumelog", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"homepage": "https://github.com/arj03/async-flumelog", | ||
@@ -6,0 +6,0 @@ "repository": { |
@@ -39,3 +39,3 @@ var ltgt = require('ltgt') | ||
if (this.opts.gt) | ||
if (this.opts.gt >= 0) | ||
this.skipFirst = true | ||
@@ -42,0 +42,0 @@ |
@@ -125,1 +125,17 @@ var tape = require('tape') | ||
}) | ||
tape('gt', function (t) { | ||
log.stream({seqs: false, gt: 0}).pipe(collect(function (err, ary) { | ||
t.notOk(err) | ||
t.deepEqual(ary, [v2, v3]) | ||
t.end() | ||
})) | ||
}) | ||
tape('gt -1', function (t) { | ||
log.stream({seqs: false, gt: -1}).pipe(collect(function (err, ary) { | ||
t.notOk(err) | ||
t.deepEqual(ary, [v1, v2, v3]) | ||
t.end() | ||
})) | ||
}) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
36572
1012