From 8b5ef02a1e0a9f5ef9cba549729941d31cca732f Mon Sep 17 00:00:00 2001 From: Erik Simmler Date: Fri, 7 Jul 2017 20:35:54 -0400 Subject: [PATCH] Add a bit of documentation for the test skips --- docs/EXERCISE_README_INSERT.md | 3 +++ exercises/hello-world/tests/Tests.elm | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/docs/EXERCISE_README_INSERT.md b/docs/EXERCISE_README_INSERT.md index 83aa8f9..e15c29a 100644 --- a/docs/EXERCISE_README_INSERT.md +++ b/docs/EXERCISE_README_INSERT.md @@ -17,3 +17,6 @@ Execute the tests with: ```bash $ npm test ``` + +As you work your way through the test suite, be sure to remove the `skip <|` +calls from each test until you get them all passing! diff --git a/exercises/hello-world/tests/Tests.elm b/exercises/hello-world/tests/Tests.elm index 9faca63..6e6ef2f 100644 --- a/exercises/hello-world/tests/Tests.elm +++ b/exercises/hello-world/tests/Tests.elm @@ -11,6 +11,10 @@ tests = [ test "Hello with no name" <| \() -> Expect.equal "Hello, World!" (helloWorld Nothing) + + -- Once you get the first test passing, remove the + -- `skip <|` (just leave the comma) on the next two + -- lines to continue! , skip <| test "Hello to a sample name" <| \() ->