update .gitignore
This commit is contained in:
parent
f3b8d04135
commit
4177e1f4e1
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,4 +1,4 @@
|
|||||||
/problems
|
/problems
|
||||||
tmp
|
tmp
|
||||||
tests
|
year25/tests
|
||||||
# Ignore these to avoid leaking local replacements to the devkit
|
# Ignore these to avoid leaking local replacements to the devkit
|
||||||
|
|||||||
@ -10,7 +10,6 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func assert(t *testing.T, err error, a, b any) {
|
func assert(t *testing.T, err error, a, b any) {
|
||||||
t.Helper()
|
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Error(err)
|
t.Error(err)
|
||||||
@ -36,7 +35,6 @@ func Handler2[T any, K any](param T, f func(ctx aoc.Context, param T) (K, error)
|
|||||||
}
|
}
|
||||||
|
|
||||||
func Test(t *testing.T, file string, handler func(aoc.Context) (any, error), want any) {
|
func Test(t *testing.T, file string, handler func(aoc.Context) (any, error), want any) {
|
||||||
t.Helper()
|
|
||||||
|
|
||||||
f, err := os.Open("tmp/" + file)
|
f, err := os.Open("tmp/" + file)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user