aboutsummaryrefslogtreecommitdiff
path: root/2020/07-Handy_Haversacks
diff options
context:
space:
mode:
Diffstat (limited to '2020/07-Handy_Haversacks')
-rw-r--r--2020/07-Handy_Haversacks/second.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/2020/07-Handy_Haversacks/second.hs b/2020/07-Handy_Haversacks/second.hs
index 3d8dcda..7446137 100644
--- a/2020/07-Handy_Haversacks/second.hs
+++ b/2020/07-Handy_Haversacks/second.hs
@@ -75,6 +75,6 @@ main = do
when (exampleOutput /= exampleExpectedOutput) (die $ "example failed: got " ++ show exampleOutput ++ " instead of " ++ show exampleExpectedOutput)
example2 <- parseInput "example2"
let exampleOutput2 = compute example2
- when (exampleOutput2 /= exampleExpectedOutput2) (die $ "example2 failed: got " ++ show exampleOutput ++ " instead of " ++ show exampleExpectedOutput)
+ when (exampleOutput2 /= exampleExpectedOutput2) (die $ "example2 failed: got " ++ show exampleOutput2 ++ " instead of " ++ show exampleExpectedOutput2)
input <- parseInput "input"
print $ compute input