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:
```elm
module Main (..) where
import Task
import Console
import ElmTest exposing (..)
@ -62,7 +64,8 @@ import ElmTest exposing (..)
tests : Test
tests =
suite "ExerciseModuleName"
suite
"ExerciseModuleName"
[ test "first test" (assertEqual True True)
, test "second test" (assertEqual False False)
]