Skip to content

Commit 847eef7

Browse files
committed
Reset sink in benchmarks
1 parent 2f46531 commit 847eef7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

gnovm/pkg/gnolang/native_perf_and_test.go

+1
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ func BenchmarkGnoPrintln(b *testing.B) {
5353
if pSink == nil {
5454
b.Fatal("Benchmark did not run!")
5555
}
56+
pSink = nil
5657
}
5758

5859
func TestGnoPrintAndPrintln(t *testing.T) {

0 commit comments

Comments
 (0)