summaryrefslogtreecommitdiff
path: root/testsuite/tests
diff options
context:
space:
mode:
authorroland <rsx@bluewin.ch>2018-09-16 19:06:13 +0300
committerÖmer Sinan Ağacan <omeragacan@gmail.com>2018-09-16 19:24:54 +0300
commitc6bff526123611d89ea4c92fbc26df221b7ecdd5 (patch)
tree233b3b3c587aa0da988c4fbb8fb8beb281732648 /testsuite/tests
parenta3bce956d7ee5f3951e3e93fd3946711c50ff07f (diff)
downloadhaskell-c6bff526123611d89ea4c92fbc26df221b7ecdd5.tar.gz
Fix for #13862: Optional "-v" not allowed with :load in GHCi
Replace the error message `Use -v to see a list of the files searched for.` with `Use -v (or :set -v` in ghci) to see a list of the files searched for.` Reviewers: bgamari, monoidal, thomie, osa1 Subscribers: rwbarton, carter GHC Trac Issues: #13862 Differential Revision: https://phabricator.haskell.org/D5122
Diffstat (limited to 'testsuite/tests')
-rw-r--r--testsuite/tests/ghc-e/should_run/T2636.stderr2
-rw-r--r--testsuite/tests/module/mod1.stderr2
-rw-r--r--testsuite/tests/module/mod2.stderr2
-rw-r--r--testsuite/tests/package/T4806.stderr4
-rw-r--r--testsuite/tests/package/T4806a.stderr4
-rw-r--r--testsuite/tests/package/package01e.stderr8
-rw-r--r--testsuite/tests/package/package06e.stderr8
-rw-r--r--testsuite/tests/package/package07e.stderr16
-rw-r--r--testsuite/tests/package/package08e.stderr16
-rw-r--r--testsuite/tests/perf/compiler/parsing001.stderr2
-rw-r--r--testsuite/tests/plugins/T11244.stderr2
-rw-r--r--testsuite/tests/plugins/plugins03.stderr2
-rw-r--r--testsuite/tests/safeHaskell/safeLanguage/SafeLang07.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail082.stderr6
14 files changed, 38 insertions, 38 deletions
diff --git a/testsuite/tests/ghc-e/should_run/T2636.stderr b/testsuite/tests/ghc-e/should_run/T2636.stderr
index bf73e40e77..9a2c6674c9 100644
--- a/testsuite/tests/ghc-e/should_run/T2636.stderr
+++ b/testsuite/tests/ghc-e/should_run/T2636.stderr
@@ -1,4 +1,4 @@
T2636.hs:1:1: error:
Could not find module ‘MissingModule’
- Use -v to see a list of the files searched for.
+ Use -v (or `:set -v` in ghci) to see a list of the files searched for.
diff --git a/testsuite/tests/module/mod1.stderr b/testsuite/tests/module/mod1.stderr
index 50554ae4c6..9bcff0bc5d 100644
--- a/testsuite/tests/module/mod1.stderr
+++ b/testsuite/tests/module/mod1.stderr
@@ -1,4 +1,4 @@
mod1.hs:3:1: error:
Could not find module ‘N’
- Use -v to see a list of the files searched for.
+ Use -v (or `:set -v` in ghci) to see a list of the files searched for.
diff --git a/testsuite/tests/module/mod2.stderr b/testsuite/tests/module/mod2.stderr
index a070917fc4..d9d07168b7 100644
--- a/testsuite/tests/module/mod2.stderr
+++ b/testsuite/tests/module/mod2.stderr
@@ -1,4 +1,4 @@
mod2.hs:3:1: error:
Could not find module ‘N’
- Use -v to see a list of the files searched for.
+ Use -v (or `:set -v` in ghci) to see a list of the files searched for.
diff --git a/testsuite/tests/package/T4806.stderr b/testsuite/tests/package/T4806.stderr
index 6b332fd32b..99bde2ec0d 100644
--- a/testsuite/tests/package/T4806.stderr
+++ b/testsuite/tests/package/T4806.stderr
@@ -1,6 +1,6 @@
T4806.hs:1:1: error:
Could not load module ‘Data.Map’
- It is a member of the package ‘containers-0.5.11.0’
+ It is a member of the package ‘containers-0.6.0.1’
which is ignored due to an -ignore-package flag
- Use -v to see a list of the files searched for.
+ Use -v (or `:set -v` in ghci) to see a list of the files searched for.
diff --git a/testsuite/tests/package/T4806a.stderr b/testsuite/tests/package/T4806a.stderr
index 36cbb59fbe..3d768a64b6 100644
--- a/testsuite/tests/package/T4806a.stderr
+++ b/testsuite/tests/package/T4806a.stderr
@@ -1,7 +1,7 @@
T4806a.hs:1:1: error:
Could not load module ‘Data.Map’
- It is a member of the package ‘containers-0.5.11.0’
+ It is a member of the package ‘containers-0.6.0.1’
which is unusable because the -ignore-package flag was used to ignore at least one of its dependencies:
deepseq-1.4.4.0
- Use -v to see a list of the files searched for.
+ Use -v (or `:set -v` in ghci) to see a list of the files searched for.
diff --git a/testsuite/tests/package/package01e.stderr b/testsuite/tests/package/package01e.stderr
index 7ae545fe6f..3381a1bd42 100644
--- a/testsuite/tests/package/package01e.stderr
+++ b/testsuite/tests/package/package01e.stderr
@@ -1,14 +1,14 @@
package01e.hs:2:1: error:
Could not load module ‘Data.Map’
- It is a member of the hidden package ‘containers-0.5.11.0’.
+ It is a member of the hidden package ‘containers-0.6.0.1’.
You can run ‘:set -package containers’ to expose it.
(Note: this unloads all the modules in the current scope.)
- Use -v to see a list of the files searched for.
+ Use -v (or `:set -v` in ghci) to see a list of the files searched for.
package01e.hs:3:1: error:
Could not load module ‘Data.IntMap’
- It is a member of the hidden package ‘containers-0.5.11.0’.
+ It is a member of the hidden package ‘containers-0.6.0.1’.
You can run ‘:set -package containers’ to expose it.
(Note: this unloads all the modules in the current scope.)
- Use -v to see a list of the files searched for.
+ Use -v (or `:set -v` in ghci) to see a list of the files searched for.
diff --git a/testsuite/tests/package/package06e.stderr b/testsuite/tests/package/package06e.stderr
index 40673b844c..12d721223c 100644
--- a/testsuite/tests/package/package06e.stderr
+++ b/testsuite/tests/package/package06e.stderr
@@ -1,14 +1,14 @@
package06e.hs:2:1: error:
Could not load module ‘HsTypes’
- It is a member of the hidden package ‘ghc-8.5’.
+ It is a member of the hidden package ‘ghc-8.7’.
You can run ‘:set -package ghc’ to expose it.
(Note: this unloads all the modules in the current scope.)
- Use -v to see a list of the files searched for.
+ Use -v (or `:set -v` in ghci) to see a list of the files searched for.
package06e.hs:3:1: error:
Could not load module ‘UniqFM’
- It is a member of the hidden package ‘ghc-8.5’.
+ It is a member of the hidden package ‘ghc-8.7’.
You can run ‘:set -package ghc’ to expose it.
(Note: this unloads all the modules in the current scope.)
- Use -v to see a list of the files searched for.
+ Use -v (or `:set -v` in ghci) to see a list of the files searched for.
diff --git a/testsuite/tests/package/package07e.stderr b/testsuite/tests/package/package07e.stderr
index 132268cb64..2678972a78 100644
--- a/testsuite/tests/package/package07e.stderr
+++ b/testsuite/tests/package/package07e.stderr
@@ -1,26 +1,26 @@
package07e.hs:2:1: error:
Could not find module ‘MyHsTypes’
- Perhaps you meant HsTypes (needs flag -package-key ghc-8.5)
- Use -v to see a list of the files searched for.
+ Perhaps you meant HsTypes (needs flag -package-key ghc-8.7)
+ Use -v (or `:set -v` in ghci) to see a list of the files searched for.
package07e.hs:3:1: error:
Could not load module ‘HsTypes’
- It is a member of the hidden package ‘ghc-8.5’.
+ It is a member of the hidden package ‘ghc-8.7’.
You can run ‘:set -package ghc’ to expose it.
(Note: this unloads all the modules in the current scope.)
- Use -v to see a list of the files searched for.
+ Use -v (or `:set -v` in ghci) to see a list of the files searched for.
package07e.hs:4:1: error:
Could not load module ‘HsUtils’
- It is a member of the hidden package ‘ghc-8.5’.
+ It is a member of the hidden package ‘ghc-8.7’.
You can run ‘:set -package ghc’ to expose it.
(Note: this unloads all the modules in the current scope.)
- Use -v to see a list of the files searched for.
+ Use -v (or `:set -v` in ghci) to see a list of the files searched for.
package07e.hs:5:1: error:
Could not load module ‘UniqFM’
- It is a member of the hidden package ‘ghc-8.5’.
+ It is a member of the hidden package ‘ghc-8.7’.
You can run ‘:set -package ghc’ to expose it.
(Note: this unloads all the modules in the current scope.)
- Use -v to see a list of the files searched for.
+ Use -v (or `:set -v` in ghci) to see a list of the files searched for.
diff --git a/testsuite/tests/package/package08e.stderr b/testsuite/tests/package/package08e.stderr
index 31b6e762e7..f02e9d6da3 100644
--- a/testsuite/tests/package/package08e.stderr
+++ b/testsuite/tests/package/package08e.stderr
@@ -1,26 +1,26 @@
package08e.hs:2:1: error:
Could not find module ‘MyHsTypes’
- Perhaps you meant HsTypes (needs flag -package-key ghc-8.5)
- Use -v to see a list of the files searched for.
+ Perhaps you meant HsTypes (needs flag -package-key ghc-8.7)
+ Use -v (or `:set -v` in ghci) to see a list of the files searched for.
package08e.hs:3:1: error:
Could not load module ‘HsTypes’
- It is a member of the hidden package ‘ghc-8.5’.
+ It is a member of the hidden package ‘ghc-8.7’.
You can run ‘:set -package ghc’ to expose it.
(Note: this unloads all the modules in the current scope.)
- Use -v to see a list of the files searched for.
+ Use -v (or `:set -v` in ghci) to see a list of the files searched for.
package08e.hs:4:1: error:
Could not load module ‘HsUtils’
- It is a member of the hidden package ‘ghc-8.5’.
+ It is a member of the hidden package ‘ghc-8.7’.
You can run ‘:set -package ghc’ to expose it.
(Note: this unloads all the modules in the current scope.)
- Use -v to see a list of the files searched for.
+ Use -v (or `:set -v` in ghci) to see a list of the files searched for.
package08e.hs:5:1: error:
Could not load module ‘UniqFM’
- It is a member of the hidden package ‘ghc-8.5’.
+ It is a member of the hidden package ‘ghc-8.7’.
You can run ‘:set -package ghc’ to expose it.
(Note: this unloads all the modules in the current scope.)
- Use -v to see a list of the files searched for.
+ Use -v (or `:set -v` in ghci) to see a list of the files searched for.
diff --git a/testsuite/tests/perf/compiler/parsing001.stderr b/testsuite/tests/perf/compiler/parsing001.stderr
index d24d77539b..8293a1acd1 100644
--- a/testsuite/tests/perf/compiler/parsing001.stderr
+++ b/testsuite/tests/perf/compiler/parsing001.stderr
@@ -1,4 +1,4 @@
parsing001.hs:3:1: error:
Could not find module ‘Wibble’
- Use -v to see a list of the files searched for.
+ Use -v (or `:set -v` in ghci) to see a list of the files searched for.
diff --git a/testsuite/tests/plugins/T11244.stderr b/testsuite/tests/plugins/T11244.stderr
index 0c3b3cf781..72f01060db 100644
--- a/testsuite/tests/plugins/T11244.stderr
+++ b/testsuite/tests/plugins/T11244.stderr
@@ -2,4 +2,4 @@
It is a member of the hidden package ‘rule-defining-plugin-0.1’.
You can run ‘:set -package rule-defining-plugin’ to expose it.
(Note: this unloads all the modules in the current scope.)
-Use -v to see a list of the files searched for.
+Use -v (or `:set -v` in ghci) to see a list of the files searched for.
diff --git a/testsuite/tests/plugins/plugins03.stderr b/testsuite/tests/plugins/plugins03.stderr
index c02965ad1f..a923550592 100644
--- a/testsuite/tests/plugins/plugins03.stderr
+++ b/testsuite/tests/plugins/plugins03.stderr
@@ -1,2 +1,2 @@
<command line>: Could not find module ‘Simple.NonExistentPlugin’
-Use -v to see a list of the files searched for.
+Use -v (or `:set -v` in ghci) to see a list of the files searched for.
diff --git a/testsuite/tests/safeHaskell/safeLanguage/SafeLang07.stderr b/testsuite/tests/safeHaskell/safeLanguage/SafeLang07.stderr
index d32906e4e5..acfb8de460 100644
--- a/testsuite/tests/safeHaskell/safeLanguage/SafeLang07.stderr
+++ b/testsuite/tests/safeHaskell/safeLanguage/SafeLang07.stderr
@@ -4,4 +4,4 @@ SafeLang07.hs:2:14: warning:
SafeLang07.hs:15:1: error:
Could not find module ‘SafeLang07_A’
- Use -v to see a list of the files searched for.
+ Use -v (or `:set -v` in ghci) to see a list of the files searched for.
diff --git a/testsuite/tests/typecheck/should_fail/tcfail082.stderr b/testsuite/tests/typecheck/should_fail/tcfail082.stderr
index 841b5c82f6..31317b2c42 100644
--- a/testsuite/tests/typecheck/should_fail/tcfail082.stderr
+++ b/testsuite/tests/typecheck/should_fail/tcfail082.stderr
@@ -1,12 +1,12 @@
tcfail082.hs:2:1: error:
Could not find module ‘Data82’
- Use -v to see a list of the files searched for.
+ Use -v (or `:set -v` in ghci) to see a list of the files searched for.
tcfail082.hs:3:1: error:
Could not find module ‘Inst82_1’
- Use -v to see a list of the files searched for.
+ Use -v (or `:set -v` in ghci) to see a list of the files searched for.
tcfail082.hs:4:1: error:
Could not find module ‘Inst82_2’
- Use -v to see a list of the files searched for.
+ Use -v (or `:set -v` in ghci) to see a list of the files searched for.