aboutsummaryrefslogtreecommitdiff
path: root/2020/07-Handy_Haversacks
diff options
context:
space:
mode:
authorJulien Dessaux2023-03-19 14:49:16 +0100
committerJulien Dessaux2023-03-19 14:49:16 +0100
commit6bb7ccb654b6990bb78b9aca80308f64017ddabe (patch)
treebc52797c27c0730688b5d40a2f6f581808fd3435 /2020/07-Handy_Haversacks
parent2020-09 in haskell (diff)
downloadadvent-of-code-6bb7ccb654b6990bb78b9aca80308f64017ddabe.tar.gz
advent-of-code-6bb7ccb654b6990bb78b9aca80308f64017ddabe.tar.bz2
advent-of-code-6bb7ccb654b6990bb78b9aca80308f64017ddabe.zip
small style fixes
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