Skip to content

Commit

Permalink
Add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed May 16, 2019
1 parent 37273d4 commit f2e6aa0
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion test/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,19 @@ const METHODS = [
const DATA = [
{ command: true },
{ command: ' ' },
{ command: 'echo test' },
{ command: 'echo test', opts: false },
{ command: 'echo test', opts: { cwd: false } },
{ command: 'echo test', opts: { env: false } },
{ command: 'echo test', opts: { argv0: false } },
{ command: 'echo test', opts: { stdio: false } },
{ command: 'echo test', opts: { detached: '' } },
{ command: 'echo test', opts: { uid: false } },
{ command: 'echo test', opts: { gid: false } },
{ command: 'echo test', opts: { shell: 0 } },
{ command: 'echo test', opts: { windowsVerbatimArguments: '' } },
{ command: 'echo test', opts: { windowsHide: '' } },
{ command: 'echo test', opts: { encoding: false } },
{ command: 'echo test' },
{ command: 'echo test', opts: { verbose: true } },
]

Expand Down

0 comments on commit f2e6aa0

Please sign in to comment.