Permalink
Browse files

plan the correct number of tests this time

  • Loading branch information...
substack committed May 26, 2012
1 parent b718cc3 commit 45fb98a5fc5afe41828dfc0a979268e30a93a0a3
Showing with 2 additions and 1 deletion.
  1. +2 −1 test/update_short.js
View
@@ -3,7 +3,7 @@ var trumpet = require('../');
var fs = require('fs');
test('update', function (t) {
- t.plan(6);
+ t.plan(7);
var html = fs.readFileSync(__dirname + '/update_target.html', 'utf8');
var tr = trumpet();
@@ -33,5 +33,6 @@ test('update', function (t) {
tr.on('end', function () {
t.equal(data, html);
+ t.end();
});
});

0 comments on commit 45fb98a

Please sign in to comment.