mirror of
https://github.com/dsoprea/go-exif.git
synced 2025-07-09 12:09:31 +00:00
exif-read-tool/main_test.go: Fix usage from tests for go-flags change
This commit is contained in:
parent
76635a8c89
commit
15666b6093
@ -25,7 +25,7 @@ var (
|
|||||||
func TestMain(t *testing.T) {
|
func TestMain(t *testing.T) {
|
||||||
cmd := exec.Command(
|
cmd := exec.Command(
|
||||||
"go", "run", appFilepath,
|
"go", "run", appFilepath,
|
||||||
"-filepath", testImageFilepath)
|
"--filepath", testImageFilepath)
|
||||||
|
|
||||||
b := new(bytes.Buffer)
|
b := new(bytes.Buffer)
|
||||||
cmd.Stdout = b
|
cmd.Stdout = b
|
||||||
@ -110,8 +110,8 @@ EXIF blob is approximately (32935) bytes.
|
|||||||
func TestMainJson(t *testing.T) {
|
func TestMainJson(t *testing.T) {
|
||||||
cmd := exec.Command(
|
cmd := exec.Command(
|
||||||
"go", "run", appFilepath,
|
"go", "run", appFilepath,
|
||||||
"-filepath", testImageFilepath,
|
"--filepath", testImageFilepath,
|
||||||
"-json")
|
"--json")
|
||||||
|
|
||||||
b := new(bytes.Buffer)
|
b := new(bytes.Buffer)
|
||||||
cmd.Stdout = b
|
cmd.Stdout = b
|
||||||
|
Loading…
x
Reference in New Issue
Block a user