1
1
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:
Rob Rix 2017-08-04 09:21:59 -04:00
parent 0f08846156
commit 35f92f98c3

View File

@ -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" $