diff options
author | nineonine <mail4chemik@gmail.com> | 2019-06-25 17:45:14 -0700 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2019-06-27 10:45:39 -0400 |
commit | 2a68b8b7974365db4ad71ea239bdc7e9a8c5896e (patch) | |
tree | 9a31f121e08e0b042fbab000e1b995e0ff368926 /testsuite/tests/warnings | |
parent | d35cec7a9c07a0fc3b40e45d64e5794c3567a523 (diff) | |
download | haskell-2a68b8b7974365db4ad71ea239bdc7e9a8c5896e.tar.gz |
Fix #16805 by formatting warning message
Diffstat (limited to 'testsuite/tests/warnings')
-rw-r--r-- | testsuite/tests/warnings/should_compile/UnusedPackages.stderr | 7 | ||||
-rw-r--r-- | testsuite/tests/warnings/should_compile/all.T | 3 |
2 files changed, 7 insertions, 3 deletions
diff --git a/testsuite/tests/warnings/should_compile/UnusedPackages.stderr b/testsuite/tests/warnings/should_compile/UnusedPackages.stderr index 7660287aa8..4eea3bfc8b 100644 --- a/testsuite/tests/warnings/should_compile/UnusedPackages.stderr +++ b/testsuite/tests/warnings/should_compile/UnusedPackages.stderr @@ -2,5 +2,8 @@ Linking UnusedPackages ... <no location info>: warning: [-Wunused-packages] - The following packages were specified via -package or -package-id flags, but were not needed for compilation: - bytestring + The following packages were specified via -package or -package-id flags, + but were not needed for compilation: + - ghc + - process + - bytestring diff --git a/testsuite/tests/warnings/should_compile/all.T b/testsuite/tests/warnings/should_compile/all.T index eabe354fa8..914f4514d3 100644 --- a/testsuite/tests/warnings/should_compile/all.T +++ b/testsuite/tests/warnings/should_compile/all.T @@ -28,4 +28,5 @@ test('StarBinder', normal, compile, ['']) test('Overflow', expect_broken_for(16543, ['hpc']), compile, ['']) -test('UnusedPackages', normal, multimod_compile, ['UnusedPackages.hs', '-package=bytestring -package=base -Wunused-packages']) +test('UnusedPackages', normal, multimod_compile, + ['UnusedPackages.hs', '-package=bytestring -package=base -package=process -package=ghc -Wunused-packages']) |