diff --git a/test/AlignmentSpec.hs b/test/AlignmentSpec.hs index b923335ae..6559bdf97 100644 --- a/test/AlignmentSpec.hs +++ b/test/AlignmentSpec.hs @@ -89,7 +89,7 @@ spec = parallel $ do alignDiff (both (Source.fromList "a") (Source.fromList "a\nb")) (both (info 0 1) (info 0 3) `branch` [ pure (info 0 1) `leaf` "a", Pure (Insert (info 2 3 :< Leaf "b")) ]) `shouldBe` [ Join (These (info 0 1 `branch` [ info 0 1 `leaf` "a" ]) (info 0 2 `branch` [ info 0 1 `leaf` "a" ])) - , Join (That (Pure (SplitInsert (info 2 3 :< Leaf "b")))) + , Join (That (info 2 3 `branch` [ Pure (SplitInsert (info 2 3 :< Leaf "b")) ])) ] where