ghcup-hs/test/GHCup/Types/JSONSpec.hs

18 lines
438 B
Haskell
Raw Normal View History

2020-09-13 18:46:34 +00:00
{-# LANGUAGE TypeApplications #-}
module GHCup.Types.JSONSpec where
import GHCup.ArbitraryTypes ()
import GHCup.Types hiding ( defaultSettings )
2020-09-13 18:46:34 +00:00
import GHCup.Types.JSON ()
import Test.Aeson.GenericSpecs
import Test.Hspec
spec :: Spec
spec = do
2021-09-04 13:27:57 +00:00
roundtripAndGoldenSpecsWithSettings (defaultSettings { goldenDirectoryOption = CustomDirectoryName "test/golden" }) (Proxy @GHCupInfo)