Permalink
Browse files

updated tests to work with testy 0.0.5

  • Loading branch information...
1 parent 233a165 commit 8cfec4b13887766f483b070448c2670a05050185 @leetreveil committed May 1, 2012
@@ -89,5 +89,4 @@ parser.on('Cover Art (Back)', function(result) {
parser.on('done', function(err) {
if (err) throw err;
assert.ok(true);
- testy.finish();
});
View
@@ -8,6 +8,4 @@ var expected = new Buffer([0xFF, 0xD8, 0xFF, 0xE0, 0x00]);
var sample = new Buffer([0xFF, 0xD8, 0xFF, 0x00, 0xE0, 0x00]);
var output = common.removeUnsyncBytes(sample);
-assert.deepEqual(output, expected);
-
-testy.finish();
+assert.deepEqual(output, expected);
View
@@ -93,5 +93,4 @@ parser.on('METADATA_BLOCK_PICTURE', function(result) {
parser.on('done', function(err) {
if (err) throw err;
assert.ok(true);
- testy.finish();
});
View
@@ -28,8 +28,6 @@ assert.strictEqual(parseGenre(keywords), 'RX/CR');
var newSplit = ('RX/CR');
assert.strictEqual(parseGenre(newSplit), 'RX/CR');
-testy.finish();
-
View
@@ -51,5 +51,4 @@ parser.on('comment', function(result) {
parser.on('done', function(err) {
if (err) throw err;
assert.ok(true);
- testy.finish();
});
View
@@ -125,5 +125,4 @@ parser.on('COM', function(result) {
parser.on('done', function(err) {
if (err) throw err;
assert.ok(true);
- testy.finish();
});
View
@@ -113,5 +113,4 @@ parser.on('APIC', function(result) {
parser.on('done', function(err) {
if (err) throw err;
assert.ok(true);
- testy.finish();
});
View
@@ -130,5 +130,4 @@ parser.on('APIC', function(result) {
parser.on('done', function(err) {
if (err) throw err;
assert.ok(true);
- testy.finish();
});
View
@@ -133,5 +133,4 @@ parser.on('covr', function(result) {
parser.on('done', function(err) {
if (err) throw err;
assert.ok(true);
- testy.finish();
});
@@ -10,5 +10,4 @@ var parser = new mm(fs.createReadStream(sample));
parser.on('metadata', function(result) {
assert.strictEqual(result.artist[0], 'Janelle Monáe');
- testy.finish();
});
@@ -28,5 +28,4 @@ parser.on('done', function(err) {
if (err) throw err;
stream.destroy();
assert.ok(true);
- testy.finish();
});
View
@@ -139,5 +139,4 @@ parser.on('METADATA_BLOCK_PICTURE', function(result) {
parser.on('done', function(err) {
if (err) throw err;
assert.ok(true);
- testy.finish();
});
@@ -19,5 +19,4 @@ parser.on('metadata', function(result) {
assert.strictEqual(result.genre[0], 'Dubstep');
assert.strictEqual(result.picture[0].format, 'jpg');
assert.strictEqual(result.picture[0].data.length, 6761);
- testy.finish();
});
@@ -22,5 +22,4 @@ parser.on('metadata', function(result) {
parser.on('done', function(err) {
if (err) throw err;
assert.ok(true);
- testy.finish();
});

0 comments on commit 8cfec4b

Please sign in to comment.