diff --git a/cli-options_test.go b/cli-options_test.go index 8f10645..b49592c 100644 --- a/cli-options_test.go +++ b/cli-options_test.go @@ -15,10 +15,10 @@ func TestCliOptions(t *testing.T) { if len(args) != 2 { t.Errorf("wrong number of arguments, expected 2, got %d", len(args)) } - if "--font-path" != args[0] { + if args[0] != "--font-path" { t.Error("wrong font path option, expected --font-path, got", args[0]) } - if "somepath/to/somewhere"+string(os.PathListSeparator)+"another/to/somewhere" != args[1] { + if args[1] != "somepath/to/somewhere"+string(os.PathListSeparator)+"another/to/somewhere" { t.Error("wrong font path option, expected my two paths concatenated, got", args[1]) } }