mirror of
https://github.com/github/semantic.git
synced 2024-12-01 09:15:01 +03:00
Remove the redundant test.
This commit is contained in:
parent
60edfc661a
commit
e8f57d6b27
@ -133,10 +133,6 @@ spec = do
|
|||||||
forAll ((arbitrary `suchThat` isOpen) >>= \ a -> ((,) a) <$> (arbitrary `suchThat` isOpen)) $
|
forAll ((arbitrary `suchThat` isOpen) >>= \ a -> ((,) a) <$> (arbitrary `suchThat` isOpen)) $
|
||||||
\ (a, b) -> adjoin2 [ Row EmptyLine EmptyLine, a ] b `shouldBe` Row EmptyLine EmptyLine : adjoin2 [ a ] b
|
\ (a, b) -> adjoin2 [ Row EmptyLine EmptyLine, a ] b `shouldBe` Row EmptyLine EmptyLine : adjoin2 [ a ] b
|
||||||
|
|
||||||
it "promotes breaks through empty lines onto incomplete lines" $
|
|
||||||
adjoin2 [ rightRowText "c", rowText "a" "b" ] (leftRow [ Break ]) `shouldBe`
|
|
||||||
[ rightRowText "c", Row (Line False [ Text "a", Break ]) (Line False [ Text "b" ]) ]
|
|
||||||
|
|
||||||
describe "termToLines" $ do
|
describe "termToLines" $ do
|
||||||
it "splits multi-line terms into multiple lines" $
|
it "splits multi-line terms into multiple lines" $
|
||||||
termToLines (Info (Range 0 5) (Set.singleton "leaf") :< (Leaf "")) "/*\n*/"
|
termToLines (Info (Range 0 5) (Set.singleton "leaf") :< (Leaf "")) "/*\n*/"
|
||||||
|
Loading…
Reference in New Issue
Block a user