Updated Go version

This commit is contained in:
Eduard Urbach 2025-02-14 16:46:36 +01:00
parent b065f56b8e
commit 3b6b87f223
Signed by: eduard
GPG key ID: 49226B848C78F6C8
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)
}