diff options
Diffstat (limited to 'aoc23/day03_test.go')
-rw-r--r-- | aoc23/day03_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/aoc23/day03_test.go b/aoc23/day03_test.go index dfbfeb9..6ce0758 100644 --- a/aoc23/day03_test.go +++ b/aoc23/day03_test.go @@ -83,7 +83,7 @@ func findNumber(r io.Reader, consumer func(int, []Point, [][]rune)) { func sumPartNumbers(r io.Reader) int { sum := 0 findNumber(r, func(n int, points []Point, grid [][]rune) { - if anyMatch(points, partial(nearSymbol, grid)) { + if some(points, partial(nearSymbol, grid)) { sum += n } }) |