update .gitignore

This commit is contained in:
Gabriel Bizdoc 2025-12-14 01:57:02 +02:00
parent f3b8d04135
commit 4177e1f4e1
No known key found for this signature in database
GPG Key ID: 3F0EDAECA5BE9ED9
2 changed files with 1 additions and 3 deletions

2
.gitignore vendored
View File

@ -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

View File

@ -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 {