Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
change the test
  • Loading branch information
ppsleep committed Jul 20, 2018
commit f4f6b3360a926700c9c85abf858cf4c6c855201d
4 changes: 2 additions & 2 deletions test/grep.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,8 @@ test('-l option', t => {
});

test('-i option', t => {
const result = shell.grep('-i', 'test', 'test/resources/case1', 'test/resources/case1.txt',
'test/resources/case1.js');
const result = shell.grep('-i', 'test', 'test/resources/grep/case1', 'test/resources/grep/case1.txt',
'test/resources/grep/case1.js');
t.falsy(shell.error());
t.is(result.split('\n').length - 1, 3);
});
Expand Down