Skip to content

Commit f0097f6

Browse files
committed
Apply hlint suggestion
1 parent 6110e14 commit f0097f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Properties.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ parserCatchErrorProp :: [String] -> String -> Property
127127
parserCatchErrorProp path msg =
128128
result === Success ([I.Key "outer", I.Key "inner"] ++ jsonPath, msg)
129129
where
130-
parser = parserCatchError outer (\p err -> pure (p, err))
130+
parser = parserCatchError outer (curry pure)
131131

132132
outer = inner I.<?> I.Key "outer"
133133
inner = parserThrowError jsonPath msg I.<?> I.Key "inner"

0 commit comments

Comments
 (0)