Skip to content

Commit

Permalink
Add tests for track and disc number
Browse files Browse the repository at this point in the history
  • Loading branch information
parshap committed Aug 25, 2013
1 parent 6a00ccf commit d440545
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,15 @@ test("read metadata", function(t) {
test("write metadata", function(t) {
ffmetadata.write(TEST_FILE, {
artist: "foo",
track: "1/10",
disc: "2/2",
}, function(err) {
t.ifError(err);
ffmetadata.read(TEST_FILE, function(err, data) {
t.ifError(err);
t.equal(data.artist, "foo");
t.equal(data.track, "1/10");
t.equal(data.disc, "2/2");
t.end();
});
});
Expand Down

0 comments on commit d440545

Please sign in to comment.