Skip to content

Commit f075e38

Browse files
committed
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.
1 parent fb007a8 commit f075e38

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

servant-server/test/Servant/Server/StreamingSpec.hs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
{-# LANGUAGE TupleSections #-}
55
{-# LANGUAGE TypeOperators #-}
66

7+
{-# OPTIONS_GHC -fno-warn-deprecations #-}
8+
79
-- | This module tests whether streaming works from client to server
810
-- with a server implemented with servant-server.
911
module Servant.Server.StreamingSpec where

0 commit comments

Comments
 (0)