Skip to content

Commit de12099

Browse files
committed
fix: use testing in the example
1 parent 2a8aeb7 commit de12099

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

example/fib_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package example
22

3-
import testing "github.com/AvalancheHQ/codspeed-go/compat/testing"
3+
import "testing"
44

55
func BenchmarkFibonacci10(b *testing.B) {
66
for i := 0; i < b.N; i++ {

example/go.mod

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
11
module example
22

33
go 1.24.3
4-
5-
require github.com/AvalancheHQ/codspeed-go v0.0.0
6-
7-
replace github.com/AvalancheHQ/codspeed-go => ..

0 commit comments

Comments
 (0)