From 8bc34db0f212156328c6f63d7d4769be0f67de9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Morten=20Nygaard=20=C3=85snes?= Date: Sun, 8 Oct 2017 17:57:29 +0200 Subject: [PATCH] Correct formatting --- exercises/collatz-conjecture/tests/Tests.elm | 21 ++++++++++---------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/exercises/collatz-conjecture/tests/Tests.elm b/exercises/collatz-conjecture/tests/Tests.elm index e1d1e0a..9534dca 100644 --- a/exercises/collatz-conjecture/tests/Tests.elm +++ b/exercises/collatz-conjecture/tests/Tests.elm @@ -15,25 +15,24 @@ tests = -- Once you get the first test passing, remove the -- `skip <|` (just leave the comma) on the next -- lines to continue! - , skip <| test "divide if even" <| - \() -> - Expect.equal (Ok 4) (collatz 16) + \() -> + Expect.equal (Ok 4) (collatz 16) , skip <| test "even and odd step" <| - \() -> - Expect.equal (Ok 9) (collatz 12) + \() -> + Expect.equal (Ok 9) (collatz 12) , skip <| test "Large number of even and odd step" <| - \() -> - Expect.equal (Ok 152) (collatz 1000000) + \() -> + Expect.equal (Ok 152) (collatz 1000000) , skip <| test "zero is an error" <| - \() -> - Expect.equal (Err "Only positive numbers are allowed") (collatz 0) + \() -> + Expect.equal (Err "Only positive numbers are allowed") (collatz 0) , skip <| test "negative values is an error" <| - \() -> - Expect.equal (Err "Only positive numbers are allowed") (collatz -15) + \() -> + Expect.equal (Err "Only positive numbers are allowed") (collatz -15) ]