Skip to content

Commit

Permalink
fix: keys/codec_test
Browse files Browse the repository at this point in the history
  • Loading branch information
j75689 committed Dec 23, 2022
1 parent 92d0440 commit c06906f
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions client/keys/codec_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,17 @@ func getTestCases() testCases {
return testCases{
// nolint:govet
[]keyring.KeyOutput{
{"A", "B", "C", "D", "E"},
{"A", "B", "C", "D", ""},
{"", "B", "C", "D", ""},
{"", "", "", "", ""},
{"A", "B", "C", "D", "D", "E"},
{"A", "B", "C", "D", "D", ""},
{"", "B", "C", "D", "D", ""},
{"", "", "", "", "", ""},
},
make([]keyring.KeyOutput, 4),
[][]byte{
[]byte(`{"name":"A","type":"B","address":"C","pubkey":"D","mnemonic":"E"}`),
[]byte(`{"name":"A","type":"B","address":"C","pubkey":"D"}`),
[]byte(`{"name":"","type":"B","address":"C","pubkey":"D"}`),
[]byte(`{"name":"","type":"","address":"","pubkey":""}`),
[]byte(`{"name":"A","type":"B","address":"C","pubkey":"D","pubkey_hex":"D","mnemonic":"E"}`),
[]byte(`{"name":"A","type":"B","address":"C","pubkey":"D","pubkey_hex":"D"}`),
[]byte(`{"name":"","type":"B","address":"C","pubkey":"D","pubkey_hex":"D"}`),
[]byte(`{"name":"","type":"","address":"","pubkey":"","pubkey_hex":""}`),
},
}
}
Expand Down

0 comments on commit c06906f

Please sign in to comment.