]> zoso.dev Git - buffer.git/commitdiff
Details
authorRomain Beauxis <toots@rastageeks.org>
Tue, 20 Aug 2013 14:44:17 +0000 (09:44 -0500)
committerRomain Beauxis <toots@rastageeks.org>
Tue, 20 Aug 2013 14:44:17 +0000 (09:44 -0500)
test/is-encoding.js

index 5cf04b34d8c9482800f95a12aa564ce14467d524..e5c8cf3bdbc5deed66db4263438eb117b8ee8afc 100644 (file)
@@ -3,7 +3,9 @@ var B = require('../index.js').Buffer;
 var test = require('tape');
 
 test('Buffer.isEncoding', function (t) {
+  t.plan(3);
   t.equal(B.isEncoding('HEX'), true);
   t.equal(B.isEncoding('hex'), true);
   t.equal(B.isEncoding('bad'), false);
+  t.end();
 });