Merge pull request #37 from parkerl/style_updates_to_readme_examples

Fixup the style of test example in the README
This commit is contained in:
Lew Parker 2016-03-15 13:03:28 -06:00
commit 27ae854536

View file

@ -55,6 +55,8 @@ Please keep the following in mind:
- Test files should use the following format: - Test files should use the following format:
```elm ```elm
module Main (..) where
import Task import Task
import Console import Console
import ElmTest exposing (..) import ElmTest exposing (..)
@ -62,7 +64,8 @@ import ElmTest exposing (..)
tests : Test tests : Test
tests = tests =
suite "ExerciseModuleName" suite
"ExerciseModuleName"
[ test "first test" (assertEqual True True) [ test "first test" (assertEqual True True)
, test "second test" (assertEqual False False) , test "second test" (assertEqual False False)
] ]