test: fix BenchmarkCoinsAdditionIntersect panic (#9904)

This commit is contained in:
Cuong Manh Le 2021-08-11 16:13:17 +07:00 committed by GitHub
parent 1e33f39cba
commit c45b9d0da6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ import (
)
func coinName(suffix int) string {
return fmt.Sprintf("coinz%d", suffix)
return fmt.Sprintf("coinz%04d", suffix)
}
func BenchmarkCoinsAdditionIntersect(b *testing.B) {