Browse Source

fix test plan

master
Sindre Sorhus 10 years ago
parent
commit
a4d3c944a7
  1. 2
      test.js

2
test.js

@ -4,7 +4,7 @@ var test = require('ava');
var stdin = require('./'); var stdin = require('./');
test('should get stdin', function (t) { test('should get stdin', function (t) {
t.plan(1); t.plan(2);
stdin(function (data) { stdin(function (data) {
t.assert(equal(data, new Buffer('unicorns\n'))); t.assert(equal(data, new Buffer('unicorns\n')));

Loading…
Cancel
Save