summaryrefslogtreecommitdiff
path: root/testsuite/tests/numeric/should_run
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2020-01-03 21:51:11 -0500
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-02-08 10:17:55 -0500
commitaede171a59f9b7b8022548c385a1cb8c4589f905 (patch)
tree70c3a4e1518592f9392893ea3ad64a25bae0f467 /testsuite/tests/numeric/should_run
parentc2e301aeeae353a64be43e5fa9e7d464797d5648 (diff)
downloadhaskell-aede171a59f9b7b8022548c385a1cb8c4589f905.tar.gz
testsuite: Fix -Wcompat-unqualified-imports issues
Diffstat (limited to 'testsuite/tests/numeric/should_run')
-rw-r--r--testsuite/tests/numeric/should_run/CarryOverflow.hs2
-rw-r--r--testsuite/tests/numeric/should_run/T8726.hs2
2 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/tests/numeric/should_run/CarryOverflow.hs b/testsuite/tests/numeric/should_run/CarryOverflow.hs
index f83c1cf15c..1a543de713 100644
--- a/testsuite/tests/numeric/should_run/CarryOverflow.hs
+++ b/testsuite/tests/numeric/should_run/CarryOverflow.hs
@@ -6,7 +6,7 @@ import GHC.Exts
import Control.Monad
import Data.Bits
-import Data.List
+import Data.List (sort, group)
import System.Exit
allEqual :: Eq a => [a] -> Bool
diff --git a/testsuite/tests/numeric/should_run/T8726.hs b/testsuite/tests/numeric/should_run/T8726.hs
index ba5803ab1d..41775e1f17 100644
--- a/testsuite/tests/numeric/should_run/T8726.hs
+++ b/testsuite/tests/numeric/should_run/T8726.hs
@@ -1,6 +1,6 @@
import Control.Monad
import Data.Bits
-import Data.List
+import Data.List (sortBy)
import Data.Ord
-- | test-values to use as numerator/denominator