mirror of
https://github.com/RussellChamp/advent-of-code-2021.git
synced 2026-10-27 21:52:32 +00:00
add unit testing
This commit is contained in:
1 parent
2992d3ba43
commit
92dd557177
6 files changed
+76
-19
No files matched your search
+1
-1
@@ -33,8 +33,8 @@ func part1() {
|
||||
fmt.Println(" Answer: ")
|
||||
|
||||
input, err := os.Open("./input.txt")
|
||||
check(err)
|
||||
defer input.Close()
|
||||
check(err)
|
||||
|
||||
scanner := bufio.NewScanner(input)
|
||||
lines := 0
|
||||
|
||||
Reference in new issue
Block a user