aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorPete Ryland <pdr@pdr.cx>2019-07-02 10:29:34 +0200
committerJohn MacFarlane <jgm@berkeley.edu>2019-07-02 10:29:34 +0200
commit24c781039fb280604eb1a73dd7de154db9e1e236 (patch)
tree4159323a476918f8eafca3048fadfcfe789d498f /test
parentb6c53553a929a8623ce56af961d28d5dcc4750d5 (diff)
downloadpandoc-24c781039fb280604eb1a73dd7de154db9e1e236.tar.gz
Fix redundant constraint warnings. (#5625)
Diffstat (limited to 'test')
-rw-r--r--test/Tests/Lua.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Tests/Lua.hs b/test/Tests/Lua.hs
index 7a1261eb2..49d54c9c8 100644
--- a/test/Tests/Lua.hs
+++ b/test/Tests/Lua.hs
@@ -192,7 +192,7 @@ assertFilterConversion msg filterPath docIn expectedDoc = do
roundtripEqual :: (Eq a, Lua.Peekable a, Lua.Pushable a) => a -> IO Bool
roundtripEqual x = (x ==) <$> roundtripped
where
- roundtripped :: (Lua.Peekable a, Lua.Pushable a) => IO a
+ roundtripped :: Lua.Peekable a => IO a
roundtripped = runLuaTest $ do
oldSize <- Lua.gettop
Lua.push x