diff --git a/packer_test.go b/packer_test.go index 5a08f8431..298c69bb1 100644 --- a/packer_test.go +++ b/packer_test.go @@ -22,7 +22,7 @@ func TestExtractMachineReadable(t *testing.T) { } // Yes - args = []string{"foo", "--machine-readable", "baz"} + args = []string{"foo", "-machine-readable", "baz"} result, mr = extractMachineReadable(args) expected = []string{"foo", "baz"} if !reflect.DeepEqual(result, expected) {