Skip to content
This repository was archived by the owner on Apr 1, 2025. It is now read-only.

Commit 669ee58

Browse files
author
Patrick Thomson
committed
Quiesce the last few warnings from the tests.
1 parent ac8532d commit 669ee58

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

test/Data/Functor/Listable.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,8 @@ liftCons4 tiers1 tiers2 tiers3 tiers4 f = mapT (uncurry4 f) (tiers1 >< tiers2 ><
107107
-- | Lifts a quinary constructor to a list of tiers, given lists of tiers for its arguments.
108108
--
109109
-- Commonly used in the definition of 'Listable1' and 'Listable2' instances.
110-
liftCons5 :: [Tier a] -> [Tier b] -> [Tier c] -> [Tier d] -> [Tier e] -> (a -> b -> c -> d -> e -> f) -> [Tier f]
111-
liftCons5 tiers1 tiers2 tiers3 tiers4 tiers5 f = mapT (uncurry5 f) (tiers1 >< tiers2 >< tiers3 >< tiers4 >< tiers5) `addWeight` 1
110+
_liftCons5 :: [Tier a] -> [Tier b] -> [Tier c] -> [Tier d] -> [Tier e] -> (a -> b -> c -> d -> e -> f) -> [Tier f]
111+
_liftCons5 tiers1 tiers2 tiers3 tiers4 tiers5 f = mapT (uncurry5 f) (tiers1 >< tiers2 >< tiers3 >< tiers4 >< tiers5) `addWeight` 1
112112
where uncurry5 f (a, (b, (c, (d, e)))) = f a b c d e
113113

114114
-- | Lifts a senary constructor to a list of tiers, given lists of tiers for its arguments.

test/Semantic/IO/Spec.hs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import Prelude hiding (readFile)
55
import Control.Monad.IO.Class
66
import Data.List
77
import System.Directory
8-
import System.Exit (ExitCode (..))
98
import System.IO.Temp
109
import Data.String
1110

test/Semantic/Stat/Spec.hs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import System.Environment
1111

1212
import Test.Tasty
1313
import Test.Tasty.HUnit
14-
import Test.Tasty.Runners
1514

1615
withSocketPair :: ((Socket, Socket) -> IO c) -> IO c
1716
withSocketPair = bracket create release
@@ -32,7 +31,7 @@ testTree = testCaseSteps "Semantic.Stat.Spec" $ \step -> do
3231
step "Handles stats addr with just hostname"
3332
case_handles_stats_addr_with_just_hostname
3433
step "takes dogstats host from environment"
35-
case_takes_stats_addr_from_environment
34+
case_takes_dogstats_host_from_environment
3635
step "rendering"
3736
case_render_counters *> case_render_tags
3837
step "stats deliver datagram"

0 commit comments

Comments
 (0)