[#600] adm/tests: Add missing WaitGroup.Add() #601
1 changed files with 1 additions and 0 deletions
|
@ -75,6 +75,7 @@ func TestGenerateAlphabet(t *testing.T) {
|
|||
var wg sync.WaitGroup
|
||||
for i := uint64(0); i < size; i++ {
|
||||
i := i
|
||||
wg.Add(1)
|
||||
go func() {
|
||||
defer wg.Done()
|
||||
p := filepath.Join(walletDir, innerring.GlagoliticLetter(i).String()+".json")
|
||||
|
|
Loading…
Reference in a new issue