Skip to content

Commit

Permalink
chore: Remove warning suppression.
Browse files Browse the repository at this point in the history
  • Loading branch information
iphydf committed Dec 23, 2023
1 parent 8c0b0f4 commit 66e110b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 11 deletions.
1 change: 0 additions & 1 deletion BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ haskell_library(
hspec_test(
name = "testsuite",
size = "small",
compiler_flags = ["-Wno-unused-imports"],
deps = [
":hs-msgpack-types",
"//third_party/haskell:QuickCheck",
Expand Down
3 changes: 1 addition & 2 deletions test/Data/MessagePack/Types/AssocSpec.hs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ module Data.MessagePack.Types.AssocSpec where
import Data.MessagePack.Types (Assoc (..))
import Test.Hspec (Spec, describe, it,
shouldBe)
import Test.QuickCheck (Arbitrary (..),
property)
import Test.QuickCheck (property)
import Test.QuickCheck.Instances.MessagePack ()

spec :: Spec
Expand Down
11 changes: 3 additions & 8 deletions test/Data/MessagePack/Types/ClassSpec.hs
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,9 @@
{-# LANGUAGE Trustworthy #-}
module Data.MessagePack.Types.ClassSpec where

import Control.Applicative (empty, pure, (<$>),
(<*>), (<|>))
import Control.Monad (mplus, mzero)
import Control.Monad.Validate (MonadValidate (..),
runValidate)
import Control.Monad.Validate (runValidate)
import qualified Data.ByteString as BS
import qualified Data.ByteString.Lazy as LBS
import Data.Hashable (Hashable)
import qualified Data.HashMap.Strict as HashMap
import Data.Int (Int16, Int32, Int64,
Int8)
Expand All @@ -31,8 +26,8 @@ import qualified Data.Text.Lazy as LText
import qualified Data.Vector as V
import qualified Data.Vector.Storable as VS
import qualified Data.Vector.Unboxed as VU
import Data.Word (Word, Word16, Word32,
Word64, Word8)
import Data.Word (Word16, Word32, Word64,
Word8)
import GHC.Generics (Generic)
import Test.Hspec (Spec, describe, it,
shouldBe, shouldSatisfy)
Expand Down

0 comments on commit 66e110b

Please sign in to comment.