Oops, missed fmt

This commit is contained in:
Daniel Krol 2022-06-22 11:06:05 -04:00
parent 52ef7ba8c1
commit c6ef525f7c
3 changed files with 4 additions and 4 deletions

View file

@ -42,7 +42,7 @@ func TestServerAuthHandlerSuccess(t *testing.T) {
func TestServerAuthHandlerErrors(t *testing.T) {
tt := []struct {
name string
email string
email string
expectedStatusCode int
expectedErrorString string

View file

@ -38,7 +38,7 @@ func TestServerRegisterSuccess(t *testing.T) {
func TestServerRegisterErrors(t *testing.T) {
tt := []struct {
name string
email string
email string
requestBody string
expectedStatusCode int
expectedErrorString string

View file

@ -367,7 +367,7 @@ func TestServerValidateWalletRequest(t *testing.T) {
}
tt := []struct {
walletRequest WalletRequest
walletRequest WalletRequest
failureDescription string
}{
{
@ -380,7 +380,7 @@ func TestServerValidateWalletRequest(t *testing.T) {
WalletRequest{Token: "seekrit", EncryptedWallet: "my-encrypted-wallet", Sequence: 2},
"Expected WalletRequest with missing hmac to not successfully validate",
}, {
WalletRequest{Token: "seekrit", EncryptedWallet: "my-encrypted-wallet", Hmac: "my-hmac", Sequence: 0},
WalletRequest{Token: "seekrit", EncryptedWallet: "my-encrypted-wallet", Hmac: "my-hmac", Sequence: 0},
"Expected WalletRequest with sequence < 1 to not successfully validate",
},
}