mirror of
https://github.com/github/semantic.git
synced 2024-12-29 01:42:43 +03:00
Clean up the test with the Applicative instance.
This commit is contained in:
parent
b3bb9e2c3e
commit
ab33fb3ace
@ -9,4 +9,4 @@ spec :: Spec
|
||||
spec = do
|
||||
describe "Coalescent" $ do
|
||||
it "should coalesce when both sides coalesce" $
|
||||
(both (Line [True]) (Line [True]) `coalesce` both (Line [True]) (Line [True]) :: [Both (Line Bool)]) `shouldBe` [both (Line [True, True]) (Line [True, True])]
|
||||
(pure (Line [True]) `coalesce` pure (Line [True]) :: [Both (Line Bool)]) `shouldBe` [pure (Line [True, True])]
|
||||
|
Loading…
Reference in New Issue
Block a user