1
1
mirror of https://github.com/github/semantic.git synced 2024-12-23 23:11:50 +03:00
semantic/test/Data/Diff/Spec.hs
2019-06-19 17:22:09 -04:00

13 lines
295 B
Haskell

{-# LANGUAGE DataKinds #-}
module Data.Diff.Spec (spec) where
import Data.Diff
import Data.Functor.Listable (ListableSyntax)
import Test.Hspec
import Test.Hspec.LeanCheck
spec :: Spec
spec = do
prop "equality is reflexive" $
\ diff -> diff `shouldBe` (diff :: Diff ListableSyntax () ())