Minor refactor
This commit is contained in:
parent
ce3e586e0c
commit
6f3855ce4b
@ -22,10 +22,11 @@ main :: IO ()
|
||||
main =
|
||||
defaultMain
|
||||
. localOption (Always :: UseColor)
|
||||
$ testGroup
|
||||
"tests"
|
||||
[ puzzleTest puzzle1
|
||||
, puzzleTest puzzle2
|
||||
. testGroup "tests"
|
||||
$ map
|
||||
puzzleTest
|
||||
[ puzzle1
|
||||
, puzzle2
|
||||
]
|
||||
|
||||
puzzleTest :: Puzzle -> TestTree
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user