Updated Go version

This commit is contained in:
2025-02-14 16:46:36 +01:00
parent d589b02570
commit 88b3f468d1
9 changed files with 10 additions and 10 deletions

View File

@ -49,7 +49,7 @@ func BenchmarkExamples(b *testing.B) {
b.Run(test.Name, func(b *testing.B) {
compiler := build.New(filepath.Join("..", "examples", test.Name))
for range b.N {
for b.Loop() {
_, err := compiler.Run()
assert.Nil(b, err)
}

View File

@ -86,7 +86,7 @@ func BenchmarkPrograms(b *testing.B) {
b.Run(test.Name, func(b *testing.B) {
compiler := build.New(filepath.Join("programs", test.Name+".q"))
for range b.N {
for b.Loop() {
_, err := compiler.Run()
assert.Nil(b, err)
}