diff --git a/cmd/clef/consolecmd_test.go b/cmd/clef/consolecmd_test.go index abdefce174..c8b37f5b92 100644 --- a/cmd/clef/consolecmd_test.go +++ b/cmd/clef/consolecmd_test.go @@ -48,7 +48,7 @@ func TestImportRaw(t *testing.T) { // Run clef importraw clef := runClef(t, "--suppress-bootwarn", "--lightkdf", "importraw", keyPath) clef.input("myverylongpassword1").input("myverylongpassword2").WaitExit() - if have, want := clef.StderrText(), "passwords do not match\n"; have != want { + if have, want := clef.StderrText(), "Passwords do not match\n"; have != want { t.Errorf("have %q, want %q", have, want) } }) diff --git a/cmd/clef/main.go b/cmd/clef/main.go index 18338c5691..88d4c99e78 100644 --- a/cmd/clef/main.go +++ b/cmd/clef/main.go @@ -583,7 +583,7 @@ func accountImport(c *cli.Context) error { } if first != second { //lint:ignore ST1005 This is a message for the user - return errors.New("passwords do not match") + return errors.New("Passwords do not match") } acc, err := internalApi.ImportRawKey(hex.EncodeToString(crypto.FromECDSA(pKey)), first) if err != nil {