diff --git a/test/AlignmentSpec.hs b/test/AlignmentSpec.hs index 08308f965..3baed4964 100644 --- a/test/AlignmentSpec.hs +++ b/test/AlignmentSpec.hs @@ -40,7 +40,7 @@ spec = parallel $ do describe "splitAbstractedTerm" $ do prop "preserves line count" $ \ source -> let range = totalRange source in - splitAbstractedTerm (:<) (Identity source) (Identity (Info range mempty)) (Leaf source) `shouldBe` (Identity . lineMap (fmap (((:< Leaf source) . (`Info` mempty) &&& id))) <$> linesInRangeOfSource range source) + splitAbstractedTerm (:<) (Identity source) (Identity (Info range mempty)) (Leaf source) `shouldBe` (Identity . lineMap (fmap ((:< Leaf source) . (`Info` mempty) &&& id)) <$> linesInRangeOfSource range source) let makeTerm = ((Free .) . Annotated) :: Info -> Syntax (Source Char) (SplitDiff (Source Char) Info) -> SplitDiff (Source Char) Info prop "outputs one row for single-line unchanged leaves" $