Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mblaschke committed May 8, 2017
1 parent 9e35dc4 commit e58ca9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/main.test
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Testing missing search and replace argument:

$ goreplace --mode=replace /dev/null
Error: Missing either --search or --replace for this mode

Command: .* (re)
[1]

Testing ignoring missing arguments in template mode:
Expand Down Expand Up @@ -311,7 +311,7 @@ Testing with --output but multiple arguments:
$ cp test.txt test2.txt
$ goreplace -s foobar -r ___xxx test.txt test2.txt --output test.output
Error: Only one file is allowed when using --output

Command: .* (re)
[1]

Testing with source:dest:
Expand Down

0 comments on commit e58ca9c

Please sign in to comment.