hnix-store/hnix-store-tests/tests/ContentAddressSpec.hs
2023-11-20 09:22:05 +01:00

17 lines
420 B
Haskell

module ContentAddressSpec where
import Test.Hspec (Spec, describe)
import Test.Hspec.QuickCheck (prop)
import Test.Hspec.Nix (roundtrips)
import System.Nix.Arbitrary ()
import qualified System.Nix.ContentAddress
spec :: Spec
spec = do
describe "ContentAddress" $ do
prop "roundtrips" $
roundtrips
System.Nix.ContentAddress.buildContentAddress
System.Nix.ContentAddress.parseContentAddress