diff --git a/2021/common/aoc.go b/2021/common/aoc.go index 2576bfd..5b12b9b 100644 --- a/2021/common/aoc.go +++ b/2021/common/aoc.go @@ -40,6 +40,11 @@ func (aoc adventOfCode) Solution(part int, f func(*bufio.Scanner) int) { failed := false for i, testCase := range aoc.testCases { + if testCase.results[part-1] == -2 { + fmt.Printf("\tTest %d skipped!\n", i+1) + continue + } + input := bufio.NewScanner(strings.NewReader(testCase.input)) result := f(input)