mirror of
https://github.com/correl/elm.git
synced 2024-12-19 11:12:23 +00:00
Fixup the style of test example in the README
This commit is contained in:
parent
afb2f5b6b3
commit
482b2ab401
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