Improved code style
This commit is contained in:
parent
162824ec1c
commit
313302b9c8
12 changed files with 17 additions and 22 deletions
|
@ -48,7 +48,7 @@ func BenchmarkExamples(b *testing.B) {
|
|||
b.Run(test.Name, func(b *testing.B) {
|
||||
compiler := build.New(filepath.Join("..", "examples", test.Name))
|
||||
|
||||
for i := 0; i < b.N; i++ {
|
||||
for range b.N {
|
||||
_, err := compiler.Run()
|
||||
assert.Nil(b, err)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue