Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

updated tests to work with testy 0.0.5

  • Loading branch information...
commit 8cfec4b13887766f483b070448c2670a05050185 1 parent 233a165
Lee Treveil authored
1  test/test-apev2-monkeysaudio.js
@@ -89,5 +89,4 @@ parser.on('Cover Art (Back)', function(result) {
89 89
 parser.on('done', function(err) {
90 90
   if (err) throw err;
91 91
   assert.ok(true);
92  
-  testy.finish();
93 92
 });
4  test/test-deunsync.js
@@ -8,6 +8,4 @@ var expected = new Buffer([0xFF, 0xD8, 0xFF, 0xE0, 0x00]);
8 8
 var sample = new Buffer([0xFF, 0xD8, 0xFF, 0x00, 0xE0, 0x00]);
9 9
 var output = common.removeUnsyncBytes(sample);
10 10
 
11  
-assert.deepEqual(output, expected);
12  
-
13  
-testy.finish();
  11
+assert.deepEqual(output, expected);
1  test/test-flac.js
@@ -93,5 +93,4 @@ parser.on('METADATA_BLOCK_PICTURE', function(result) {
93 93
 parser.on('done', function(err) {
94 94
   if (err) throw err;
95 95
   assert.ok(true);
96  
-  testy.finish();
97 96
 });
2  test/test-genres.js
@@ -28,8 +28,6 @@ assert.strictEqual(parseGenre(keywords), 'RX/CR');
28 28
 var newSplit = ('RX/CR');
29 29
 assert.strictEqual(parseGenre(newSplit), 'RX/CR');
30 30
 
31  
-testy.finish();
32  
-
33 31
 
34 32
 
35 33
 
1  test/test-id3v1.1.js
@@ -51,5 +51,4 @@ parser.on('comment', function(result) {
51 51
 parser.on('done', function(err) {
52 52
   if (err) throw err;
53 53
   assert.ok(true);
54  
-  testy.finish();
55 54
 });
1  test/test-id3v2.2.js
@@ -125,5 +125,4 @@ parser.on('COM', function(result) {
125 125
 parser.on('done', function(err) {
126 126
   if (err) throw err;
127 127
   assert.ok(true);
128  
-  testy.finish();
129 128
 });
1  test/test-id3v2.3.js
@@ -113,5 +113,4 @@ parser.on('APIC', function(result) {
113 113
 parser.on('done', function(err) {
114 114
   if (err) throw err;
115 115
   assert.ok(true);
116  
-  testy.finish();
117 116
 });
1  test/test-id3v2.4.js
@@ -130,5 +130,4 @@ parser.on('APIC', function(result) {
130 130
 parser.on('done', function(err) {
131 131
   if (err) throw err;
132 132
   assert.ok(true);
133  
-  testy.finish();
134 133
 });
1  test/test-id4.js
@@ -133,5 +133,4 @@ parser.on('covr', function(result) {
133 133
 parser.on('done', function(err) {
134 134
   if (err) throw err;
135 135
   assert.ok(true);
136  
-  testy.finish();
137 136
 });
1  test/test-nonasciichars.js
@@ -10,5 +10,4 @@ var parser = new mm(fs.createReadStream(sample));
10 10
 
11 11
 parser.on('metadata', function(result) {
12 12
   assert.strictEqual(result.artist[0], 'Janelle Monáe');
13  
-  testy.finish();
14 13
 });
1  test/test-ogg-multipagemetadatabug.js
@@ -28,5 +28,4 @@ parser.on('done', function(err) {
28 28
   if (err) throw err;
29 29
   stream.destroy();
30 30
   assert.ok(true);
31  
-  testy.finish();
32 31
 });
1  test/test-ogg.js
@@ -139,5 +139,4 @@ parser.on('METADATA_BLOCK_PICTURE', function(result) {
139 139
 parser.on('done', function(err) {
140 140
   if (err) throw err;
141 141
   assert.ok(true);
142  
-  testy.finish();
143 142
 });
1  test/test-unknownencoding.js
@@ -19,5 +19,4 @@ parser.on('metadata', function(result) {
19 19
   assert.strictEqual(result.genre[0], 'Dubstep');
20 20
   assert.strictEqual(result.picture[0].format, 'jpg');
21 21
   assert.strictEqual(result.picture[0].data.length, 6761);
22  
-  testy.finish();
23 22
 });
1  test/test-utf16bom-encoding.js
@@ -22,5 +22,4 @@ parser.on('metadata', function(result) {
22 22
 parser.on('done', function(err) {
23 23
   if (err) throw err;
24 24
   assert.ok(true);
25  
-  testy.finish();
26 25
 });

0 notes on commit 8cfec4b

Please sign in to comment.
Something went wrong with that request. Please try again.