mirror of
https://github.com/github/semantic.git
synced 2024-12-01 00:33:59 +03:00
Correct precedence.
This commit is contained in:
parent
5366bfff3c
commit
bad1c832f0
@ -149,7 +149,7 @@ spec = do
|
||||
describe "catchError" $ do
|
||||
it "catches failed committed choices" $
|
||||
fst <$> runAssignment "A"
|
||||
(symbol Green *> children red `catchError` \ _ -> OutError <$ location <*> source)
|
||||
((symbol Green *> children red) `catchError` \ _ -> OutError <$ location <*> source)
|
||||
(makeState [node Green 0 1 []])
|
||||
`shouldBe`
|
||||
Right (OutError "A")
|
||||
|
Loading…
Reference in New Issue
Block a user