mirror of
https://github.com/github/semantic.git
synced 2024-11-29 02:44:36 +03:00
Fix a test now that we always try the error handler on errors.
This commit is contained in:
parent
0f08846156
commit
35f92f98c3
@ -158,7 +158,7 @@ spec = do
|
|||||||
(red `catchError` const blue)
|
(red `catchError` const blue)
|
||||||
(makeState [node Green 0 1 []])
|
(makeState [node Green 0 1 []])
|
||||||
`shouldBe`
|
`shouldBe`
|
||||||
Left (Error (Info.Pos 1 1) [Red] (Just Green))
|
Left (Error (Info.Pos 1 1) [Blue] (Just Green))
|
||||||
|
|
||||||
describe "in many" $ do
|
describe "in many" $ do
|
||||||
it "handler that always matches" $
|
it "handler that always matches" $
|
||||||
|
Loading…
Reference in New Issue
Block a user