From 92737bdd504da18eb769122ba28157bb17d2f708 Mon Sep 17 00:00:00 2001 From: andys8 Date: Sat, 26 Aug 2017 10:48:39 +0200 Subject: [PATCH] style($testing): Test template syntax using underscore Elm-Test recently changed the proposal how a test function should look like. 166 --- template/tests/Tests.elm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/template/tests/Tests.elm b/template/tests/Tests.elm index dce85982..f0d06cbf 100644 --- a/template/tests/Tests.elm +++ b/template/tests/Tests.elm @@ -12,12 +12,12 @@ all : Test all = describe "A Test Suite" [ test "Addition" <| - \() -> + \_ -> Expect.equal 10 (3 + 7) , test "String.left" <| - \() -> + \_ -> Expect.equal "a" (String.left 1 "abcdefg") , test "This test should fail" <| - \() -> + \_ -> Expect.fail "failed as expected!" ]