Skip to content

Commit 43b63bf

Browse files
authored
Merge pull request #3 from codewars/use-config-format
2 parents e1737a4 + 1c1e320 commit 43b63bf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/Main.hs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@ module Main (main) where
22

33
import Test.Hspec.Runner
44
import Test.Hspec.Formatters.Codewars (codewars)
5+
import Test.Hspec.Core.Formatters.V1 (formatterToFormat)
56

67
import qualified Spec
78

89
main :: IO ()
9-
main = hspecWith defaultConfig {configFormatter = Just codewars} Spec.spec
10+
main = hspecWith defaultConfig {configFormat = Just $ formatterToFormat codewars} Spec.spec

0 commit comments

Comments
 (0)