diff --git a/day-01/internal/one/solve_internal_test.go b/day-01/internal/one/solve_internal_test.go index f9cc9af..e5fd7ea 100644 --- a/day-01/internal/one/solve_internal_test.go +++ b/day-01/internal/one/solve_internal_test.go @@ -9,7 +9,7 @@ import ( //go:embed testdata/input.txt var data []byte -func BenchmarkMain(b *testing.B) { +func BenchmarkSolve(b *testing.B) { os.Stdout, _ = os.Open(os.DevNull) Solve(data) } diff --git a/day-01/internal/two/solve_internal_test.go b/day-01/internal/two/solve_internal_test.go index e3efa34..ecb05d5 100644 --- a/day-01/internal/two/solve_internal_test.go +++ b/day-01/internal/two/solve_internal_test.go @@ -9,7 +9,7 @@ import ( //go:embed testdata/input.txt var data []byte -func BenchmarkMain(b *testing.B) { +func BenchmarkSolve(b *testing.B) { os.Stdout, _ = os.Open(os.DevNull) Solve(data) } diff --git a/day-01/solve_internal_test.go b/day-01/solve_internal_test.go index 1c00798..b153234 100644 --- a/day-01/solve_internal_test.go +++ b/day-01/solve_internal_test.go @@ -9,7 +9,7 @@ import ( //go:embed testdata/input.txt var data []byte -func BenchmarkMain(b *testing.B) { +func BenchmarkSolve(b *testing.B) { os.Stdout, _ = os.Open(os.DevNull) Solve(data) } diff --git a/day-02/internal/one/solve_internal_test.go b/day-02/internal/one/solve_internal_test.go index f9cc9af..e5fd7ea 100644 --- a/day-02/internal/one/solve_internal_test.go +++ b/day-02/internal/one/solve_internal_test.go @@ -9,7 +9,7 @@ import ( //go:embed testdata/input.txt var data []byte -func BenchmarkMain(b *testing.B) { +func BenchmarkSolve(b *testing.B) { os.Stdout, _ = os.Open(os.DevNull) Solve(data) } diff --git a/day-02/internal/two/solve_internal_test.go b/day-02/internal/two/solve_internal_test.go index e3efa34..ecb05d5 100644 --- a/day-02/internal/two/solve_internal_test.go +++ b/day-02/internal/two/solve_internal_test.go @@ -9,7 +9,7 @@ import ( //go:embed testdata/input.txt var data []byte -func BenchmarkMain(b *testing.B) { +func BenchmarkSolve(b *testing.B) { os.Stdout, _ = os.Open(os.DevNull) Solve(data) } diff --git a/day-02/solve_internal_test.go b/day-02/solve_internal_test.go index cb1c531..0044d8a 100644 --- a/day-02/solve_internal_test.go +++ b/day-02/solve_internal_test.go @@ -9,7 +9,7 @@ import ( //go:embed testdata/input.txt var data []byte -func BenchmarkMain(b *testing.B) { +func BenchmarkSolve(b *testing.B) { os.Stdout, _ = os.Open(os.DevNull) Solve(data) } diff --git a/day-03/internal/one/solve_internal_test.go b/day-03/internal/one/solve_internal_test.go index f9cc9af..e5fd7ea 100644 --- a/day-03/internal/one/solve_internal_test.go +++ b/day-03/internal/one/solve_internal_test.go @@ -9,7 +9,7 @@ import ( //go:embed testdata/input.txt var data []byte -func BenchmarkMain(b *testing.B) { +func BenchmarkSolve(b *testing.B) { os.Stdout, _ = os.Open(os.DevNull) Solve(data) } diff --git a/day-03/internal/two/solve_internal_test.go b/day-03/internal/two/solve_internal_test.go index e3efa34..ecb05d5 100644 --- a/day-03/internal/two/solve_internal_test.go +++ b/day-03/internal/two/solve_internal_test.go @@ -9,7 +9,7 @@ import ( //go:embed testdata/input.txt var data []byte -func BenchmarkMain(b *testing.B) { +func BenchmarkSolve(b *testing.B) { os.Stdout, _ = os.Open(os.DevNull) Solve(data) } diff --git a/day-03/solve_internal_test.go b/day-03/solve_internal_test.go index 98f962c..398e141 100644 --- a/day-03/solve_internal_test.go +++ b/day-03/solve_internal_test.go @@ -9,7 +9,7 @@ import ( //go:embed testdata/input.txt var data []byte -func BenchmarkMain(b *testing.B) { +func BenchmarkSolve(b *testing.B) { os.Stdout, _ = os.Open(os.DevNull) Solve(data) }