exif-read-tool/main_test.go: Fix usage from tests for go-flags change

dustin/add_skipped_tags_tracking
Dustin Oprea 2020-05-18 22:37:37 -04:00
parent 76635a8c89
commit 15666b6093
1 changed files with 3 additions and 3 deletions

View File

@ -25,7 +25,7 @@ var (
func TestMain(t *testing.T) {
cmd := exec.Command(
"go", "run", appFilepath,
"-filepath", testImageFilepath)
"--filepath", testImageFilepath)
b := new(bytes.Buffer)
cmd.Stdout = b
@ -110,8 +110,8 @@ EXIF blob is approximately (32935) bytes.
func TestMainJson(t *testing.T) {
cmd := exec.Command(
"go", "run", appFilepath,
"-filepath", testImageFilepath,
"-json")
"--filepath", testImageFilepath,
"--json")
b := new(bytes.Buffer)
cmd.Stdout = b