mirror of
https://github.com/correl/elm.git
synced 2024-11-16 03:00:08 +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:
|
- 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)
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in a new issue