mirror of
https://github.com/github/semantic.git
synced 2024-12-29 09:55:52 +03:00
Test that comparisons of the empty list against a list returns all values in That.
This commit is contained in:
parent
2f86a8d374
commit
2556e0f1e1
@ -14,3 +14,6 @@ spec = do
|
||||
|
||||
prop "returns deletions in This" $
|
||||
\ as -> runMyers (==) (ses (makeEditGraph as [] :: EditGraph Char Char)) `shouldBe` fmap This as
|
||||
|
||||
prop "returns insertions in That" $
|
||||
\ bs -> runMyers (==) (ses (makeEditGraph [] bs :: EditGraph Char Char)) `shouldBe` fmap That bs
|
||||
|
Loading…
Reference in New Issue
Block a user