mirror of
https://github.com/github/semantic.git
synced 2024-11-28 18:23:44 +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)
|
||||
(makeState [node Green 0 1 []])
|
||||
`shouldBe`
|
||||
Left (Error (Info.Pos 1 1) [Red] (Just Green))
|
||||
Left (Error (Info.Pos 1 1) [Blue] (Just Green))
|
||||
|
||||
describe "in many" $ do
|
||||
it "handler that always matches" $
|
||||
|
Loading…
Reference in New Issue
Block a user