Improved code style
This commit is contained in:
parent
860795c1ec
commit
977028f8ab
12 changed files with 17 additions and 22 deletions
|
@ -82,7 +82,7 @@ func BenchmarkPrograms(b *testing.B) {
|
|||
b.Run(test.Name, func(b *testing.B) {
|
||||
compiler := build.New(filepath.Join("programs", test.Name+".q"))
|
||||
|
||||
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