We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6110e14 commit f0097f6Copy full SHA for f0097f6
tests/Properties.hs
@@ -127,7 +127,7 @@ parserCatchErrorProp :: [String] -> String -> Property
127
parserCatchErrorProp path msg =
128
result === Success ([I.Key "outer", I.Key "inner"] ++ jsonPath, msg)
129
where
130
- parser = parserCatchError outer (\p err -> pure (p, err))
+ parser = parserCatchError outer (curry pure)
131
132
outer = inner I.<?> I.Key "outer"
133
inner = parserThrowError jsonPath msg I.<?> I.Key "inner"
0 commit comments