Skip to content

Commit e721508

Browse files
committed
1 parent c4025c1 commit e721508

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/default-messages.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
var tap = require('tap');
2+
var path = require('path');
23
var spawn = require('child_process').spawn;
34
var concat = require('concat-stream');
45

56
tap.test('default messages', function (t) {
67
t.plan(1);
78

8-
var ps = spawn(process.execPath,
9-
[ require('path').join(__dirname, 'messages', 'defaults.js') ]);
10-
9+
var ps = spawn(process.execPath, [path.join(__dirname, 'messages', 'defaults.js')]);
10+
1111
ps.stdout.pipe(concat(function (rows) {
1212

1313
t.same(rows.toString('utf8'), [

0 commit comments

Comments
 (0)