Merge pull request #36 from parkerl/fixup_bob

Style updates for Bob
This commit is contained in:
Lew Parker 2016-03-15 13:03:01 -06:00
commit 47ae45834a
2 changed files with 5 additions and 3 deletions

View file

@ -1,5 +1,4 @@
module Bob where
module Bob (..) where
import String
import Regex

View file

@ -1,3 +1,5 @@
module Main (..) where
import Task
import Console
import ElmTest exposing (..)
@ -9,7 +11,8 @@ import Bob
tests : Test
tests =
suite "Bob"
suite
"Bob"
[ test "stating something" (assertEqual "Whatever." (Bob.hey "Tom-ay-to, tom-aaaah-to."))
, test "shouting" (assertEqual "Whoa, chill out!" (Bob.hey "WATCH OUT!"))
, test "shouting gibberish" (assertEqual "Whoa, chill out!" (Bob.hey (uppercaseGibberish 10)))