mirror of
https://github.com/github/semantic.git
synced 2024-12-01 09:15:01 +03:00
14 lines
338 B
Haskell
14 lines
338 B
Haskell
{-# LANGUAGE DataKinds #-}
|
|
module Data.Diff.Spec where
|
|
|
|
import Data.Diff
|
|
import Data.Functor.Listable (ListableSyntax)
|
|
import Data.Record
|
|
import Test.Hspec
|
|
import Test.Hspec.LeanCheck
|
|
|
|
spec :: Spec
|
|
spec = parallel $ do
|
|
prop "equality is reflexive" $
|
|
\ diff -> diff `shouldBe` (diff :: Diff ListableSyntax (Record '[]) (Record '[]))
|