Do setLocaleEncoding utf8 in Hspec.hs

This commit is contained in:
thomasjm 2023-08-18 01:55:34 -07:00
parent c5ba628dc0
commit 432a301f64

View File

@ -1,5 +1,6 @@
module Main where
import GHC.IO.Encoding
import Prelude
import Test.Hspec
@ -10,7 +11,9 @@ import IHaskell.Test.Eval (testEval)
import IHaskell.Test.Hoogle (testHoogle)
main :: IO ()
main =
main = do
setLocaleEncoding utf8
hspec $ do
testParser
testEval