use `stats[vector.language]++` to prevent lint errors when using `+= 1`
This commit is contained in:
parent
5e4b4c7fc6
commit
3d71a3868a
|
@ -54,7 +54,7 @@ func TestMnemonicPhrase(t *testing.T) {
|
|||
t.Log("Test against pre-computed seed vectors:")
|
||||
stats := map[string]int{}
|
||||
for _, vector := range vectorsFile.vectors {
|
||||
stats[vector.language] += 1
|
||||
stats[vector.language]++
|
||||
mnemonic := NewMnemonic(vector.salt)
|
||||
seed := mnemonic.MnemonicSeed(vector.mnemonic, vector.password)
|
||||
if fmt.Sprintf("%x", seed) != vector.seed {
|
||||
|
|
Loading…
Reference in New Issue