1
1
mirror of https://github.com/github/semantic.git synced 2024-12-29 18:06:14 +03:00
semantic/test/Data/Diff/Spec.hs

13 lines
295 B
Haskell
Raw Normal View History

{-# LANGUAGE DataKinds #-}
2018-12-01 03:22:57 +03:00
module Data.Diff.Spec (spec) where
2016-06-27 20:12:06 +03:00
2017-09-27 19:41:41 +03:00
import Data.Diff
import Data.Functor.Listable (ListableSyntax)
2016-06-27 20:12:06 +03:00
import Test.Hspec
import Test.Hspec.LeanCheck
2016-06-27 20:12:06 +03:00
spec :: Spec
2019-06-20 00:22:09 +03:00
spec = do
2016-06-27 20:18:20 +03:00
prop "equality is reflexive" $
\ diff -> diff `shouldBe` (diff :: Diff ListableSyntax () ())