-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use more modern streams2 streaming api #72
base: master
Are you sure you want to change the base?
Conversation
@@ -81,7 +82,7 @@ test('id4', function (t) { | |||
t.strictEqual(result, 'Electronic', 'raw gnre'); | |||
}) | |||
.on('stik', function (result) { | |||
t.strictEqual(result, 256, 'raw stik'); | |||
t.strictEqual(result, 1, 'raw stik'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1
is actually the correct value for stik, the previous implementation was broken.
t.end(); | ||
}) | ||
.on('done', function (err) { | ||
t.error(err) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Best to check done event in all tests too.
@@ -16,5 +16,6 @@ test('mp3 cbr calculation', function (t) { | |||
}) | |||
.on('done', function (err) { | |||
t.error(err); | |||
t.end() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Better to call end when we can.
0aa9323
to
f56e70d
Compare
No description provided.