Skip to content

Commit 1c1e320

Browse files
committed
Replace deprecated configFormatter with configFormat
1 parent e1737a4 commit 1c1e320

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)