diff --git a/test/AlignmentSpec.hs b/test/AlignmentSpec.hs index 2b754fd7f..fc1988515 100644 --- a/test/AlignmentSpec.hs +++ b/test/AlignmentSpec.hs @@ -53,7 +53,7 @@ spec = parallel $ do prop "produces the maximum line count in inequal sources" $ \ sources -> - length (splitDiffByLines sources (Free $ Annotated ((`Info` mempty) . totalRange <$> sources) (Indexed $ leafWithRangesInSources sources <$> Both.zip (actualLineRanges <$> (totalRange <$> sources) <*> sources)))) `shouldBe` runBothWith max ((+ 1) . length . filter (== '\n') . toList <$> sources) + length (splitDiffByLines sources (Free $ Annotated ((`Info` mempty) . totalRange <$> sources) (Indexed $ leafWithRangesInSources sources <$> runBothWith (zipWith both) (actualLineRanges <$> (totalRange <$> sources) <*> sources)))) `shouldBe` runBothWith max ((+ 1) . length . filter (== '\n') . toList <$> sources) describe "adjoinRows" $ do prop "is identity on top of no rows" $ forAll (arbitrary `suchThat` (not . isEmptyRow)) $