{-| Module: Spec.Data.BinarySpec Copyright: (C) 2014-2017 Ryan Scott License: BSD-style (see the file LICENSE) Maintainer: Ryan Scott Stability: Provisional Portability: GHC @hspec@ tests for 'Decoder's. -} module Spec.Data.BinarySpec (main, spec) where import Data.Binary.Get.Internal (Decoder) import Data.Proxy (Proxy(..)) import Instances.Data.Binary () import Spec.Utils (matchesTextShowSpec) import Test.Hspec (Spec, describe, hspec, parallel) import TextShow.Data.Binary () main :: IO () main = hspec spec spec :: Spec spec = parallel . describe "Decoder Int" $ matchesTextShowSpec (Proxy :: Proxy (Decoder Int))