Skip to content

Commit c67f943

Browse files
committed
Use filepath in test
1 parent 2a995c3 commit c67f943

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/tests.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ test(function(t) {
2626

2727
test(function(t) {
2828
t.plan(1)
29-
exec('echo \'{"foo": "bar"}\n{"baz": "taco"}\' | jsonreduce \'this.keys = this.keys.concat(Object.keys(current))\' --memo \'{"keys": []}\'', function(err, output) {
29+
exec('echo \'{"foo": "bar"}\n{"baz": "taco"}\' | node ../cli.js \'this.keys = this.keys.concat(Object.keys(current))\' --memo \'{"keys": []}\'', function(err, output) {
3030
t.equal(output, '{"keys":["foo","baz"]}\n', '--memo cli parameter')
3131
})
3232
})

0 commit comments

Comments
 (0)