diff options
Diffstat (limited to 'testsuite/tests/rename/should_compile')
7 files changed, 2 insertions, 29 deletions
diff --git a/testsuite/tests/rename/should_compile/T17244A.hs b/testsuite/tests/rename/should_compile/T17244A.hs deleted file mode 100644 index 290120affd..0000000000 --- a/testsuite/tests/rename/should_compile/T17244A.hs +++ /dev/null @@ -1,9 +0,0 @@ -{-# OPTIONS_GHC -Wcompat-unqualified-imports #-} - -module T17244A (hello) where - --- This should warn with -Wcompat-unqualified-imports. -import Data.List - -hello :: [Int] -> Int -hello = sum diff --git a/testsuite/tests/rename/should_compile/T17244A.stderr b/testsuite/tests/rename/should_compile/T17244A.stderr deleted file mode 100644 index 621e9439f1..0000000000 --- a/testsuite/tests/rename/should_compile/T17244A.stderr +++ /dev/null @@ -1,5 +0,0 @@ - -T17244A.hs:6:8: warning: [-Wcompat-unqualified-imports (in -Wcompat)] - To ensure compatibility with future core libraries changes - imports to Data.List should be - either qualified or have an explicit import list. diff --git a/testsuite/tests/rename/should_compile/T17244C.hs b/testsuite/tests/rename/should_compile/T17244C.hs deleted file mode 100644 index 3da92dddd6..0000000000 --- a/testsuite/tests/rename/should_compile/T17244C.hs +++ /dev/null @@ -1,10 +0,0 @@ -{-# OPTIONS_GHC -Wcompat-unqualified-imports #-} - -module T17244C (hello) where - --- This should not warn with -Wcompat-unqualified-imports. -import Data.List (sum) - -hello :: [Int] -> Int -hello = sum - diff --git a/testsuite/tests/rename/should_compile/T17244C.stderr b/testsuite/tests/rename/should_compile/T17244C.stderr deleted file mode 100644 index e69de29bb2..0000000000 --- a/testsuite/tests/rename/should_compile/T17244C.stderr +++ /dev/null diff --git a/testsuite/tests/rename/should_compile/T1972.stderr b/testsuite/tests/rename/should_compile/T1972.stderr index 3311f0aded..779b2425ef 100644 --- a/testsuite/tests/rename/should_compile/T1972.stderr +++ b/testsuite/tests/rename/should_compile/T1972.stderr @@ -6,7 +6,6 @@ T1972.hs:13:3: warning: [-Wname-shadowing (in -Wall)] T1972.hs:15:3: warning: [-Wname-shadowing (in -Wall)] This binding for ‘mapAccumL’ shadows the existing bindings imported from ‘Data.List’ at T1972.hs:8:19-27 - (and originally defined in ‘Data.Traversable’) defined at T1972.hs:17:1 T1972.hs:21:10: warning: [-Wunused-local-binds (in -Wextra, -Wunused-binds)] diff --git a/testsuite/tests/rename/should_compile/T4478.hs b/testsuite/tests/rename/should_compile/T4478.hs index 9e3fcee81a..ca6d8e5be0 100644 --- a/testsuite/tests/rename/should_compile/T4478.hs +++ b/testsuite/tests/rename/should_compile/T4478.hs @@ -2,7 +2,7 @@ -- We don't want to warn about duplicate exports for things exported -- by both "module" exports -module T4478 (module Prelude, module Data.List) where +module T4478 (module Prelude, module Data.Foldable) where import Prelude -import Data.List +import Data.Foldable diff --git a/testsuite/tests/rename/should_compile/all.T b/testsuite/tests/rename/should_compile/all.T index 71d631e499..92464ca55b 100644 --- a/testsuite/tests/rename/should_compile/all.T +++ b/testsuite/tests/rename/should_compile/all.T @@ -169,9 +169,7 @@ test('T15798b', normal, compile, ['']) test('T15798c', normal, compile, ['']) test('T16116a', normal, compile, ['']) test('T15957', normal, compile, ['-Werror -Wredundant-record-wildcards -Wunused-record-wildcards']) -test('T17244A', normal, compile, ['-Wno-error=compat-unqualified-imports']) test('T17244B', normal, compile, ['']) -test('T17244C', normal, compile, ['']) test('T17832', [], multimod_compile, ['T17832M1', 'T17832M2']) test('T17837', normal, compile, ['']) test('T18497', [], makefile_test, ['T18497']) |