use `stats[vector.language]++` to prevent lint errors when using `+= 1`

This commit is contained in:
Andrea Franz 2018-03-13 12:55:59 +01:00
parent 5e4b4c7fc6
commit 3d71a3868a
No known key found for this signature in database
GPG Key ID: 4F0D2F2D9DE7F29D
1 changed files with 1 additions and 1 deletions

View File

@ -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 {