1
1
mirror of https://github.com/github/semantic.git synced 2024-11-24 08:54:07 +03:00

Pass sources as a pair.

This commit is contained in:
Rob Rix 2015-12-30 15:31:27 -05:00
parent d2f63f77f1
commit 8b4d158f4c

View File

@ -12,4 +12,4 @@ spec :: Spec
spec = do
describe "hunks" $ do
it "empty diffs have no hunks" $
hunks (Free . Annotated (Info (Range 0 0) mempty, Info (Range 0 0) mempty) $ Leaf "") (fromList "") (fromList "") `shouldBe` []
hunks (Free . Annotated (Info (Range 0 0) mempty, Info (Range 0 0) mempty) $ Leaf "") (fromList "", fromList "") `shouldBe` []