add wg.Wait() at the end of Test_CloneConcurrent

This commit is contained in:
Keiichi Hirobe 2022-05-06 22:29:01 +09:00 committed by Ralph Caraveo
parent 2118748fb0
commit 76d8b16731
1 changed files with 1 additions and 1 deletions

View File

@ -122,8 +122,8 @@ func Test_CloneConcurrent(t *testing.T) {
wg.Done()
}(i)
}
s.Clone()
wg.Wait()
}
func Test_ContainsConcurrent(t *testing.T) {