Skip to content

Commit

Permalink
fix test error message blaskovicz#6
Browse files Browse the repository at this point in the history
  • Loading branch information
u5surf committed Sep 26, 2019
1 parent 3b9a65a commit f53a246
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cryptkeeper_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ func TestCryptString(t *testing.T) {
t.Run("Invalid Encrypt", func(t *testing.T) {
_, err := Encrypt("abc")
if err == nil {
t.Fatalf("Encrypt without SetCryptKey should have errored: '%s'", err)
t.Fatalf("Encrypt without SetCryptKey should have errored")
}
})
t.Run("Invalid Decrypt", func(t *testing.T) {
_, err := Decrypt("2tHq4GL8r7tTvfk6l2TS8d5nVDXY6ztqz6WTmbmq8ZOJ")
if err == nil {
t.Fatalf("Decrypt without SetCryptKey should have errored: %s", err)
t.Fatalf("Decrypt without SetCryptKey should have errored")
}
})
})
Expand Down

0 comments on commit f53a246

Please # to comment.