mirror of
https://github.com/correl/elm.git
synced 2024-12-18 11:06:17 +00:00
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:
commit
27ae854536
1 changed files with 4 additions and 1 deletions
|
@ -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)
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue