Ignore deprecation warning in StreamingSpec

We cannot use the recommended replacement
`requestBody` => `getRequestBodyChunk`, because we are actually
interested in the record selector, not the `Request -> IO ByteString`
function.
This commit is contained in:
Nicolas BACQUEY 2022-03-17 14:17:37 +01:00
parent 7da7f4eb35
commit 2a4c147448
No known key found for this signature in database
GPG Key ID: 518D364D061C12AC
1 changed files with 2 additions and 0 deletions

View File

@ -4,6 +4,8 @@
{-# LANGUAGE TupleSections #-}
{-# LANGUAGE TypeOperators #-}
{-# OPTIONS_GHC -fno-warn-deprecations #-}
-- | This module tests whether streaming works from client to server
-- with a server implemented with servant-server.
module Servant.Server.StreamingSpec where