[commit: ghc] master: Testsuite: accept new stderr for T9497{a, b, c}-run (#10224) (f607393)

git at git.haskell.org git at git.haskell.org
Fri Jul 17 23:57:04 UTC 2015


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/f607393b7ffa8a06417e3f1263d2610d6bfe8279/ghc

>---------------------------------------------------------------

commit f607393b7ffa8a06417e3f1263d2610d6bfe8279
Author: Thomas Miedema <thomasmiedema at gmail.com>
Date:   Thu Jul 16 10:42:22 2015 +0200

    Testsuite: accept new stderr for T9497{a,b,c}-run (#10224)


>---------------------------------------------------------------

f607393b7ffa8a06417e3f1263d2610d6bfe8279
 testsuite/tests/typecheck/should_run/T9497a-run.stderr | 4 ++--
 testsuite/tests/typecheck/should_run/T9497b-run.stderr | 4 ++--
 testsuite/tests/typecheck/should_run/T9497c-run.stderr | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/testsuite/tests/typecheck/should_run/T9497a-run.stderr b/testsuite/tests/typecheck/should_run/T9497a-run.stderr
index 192f78f..43f720b 100644
--- a/testsuite/tests/typecheck/should_run/T9497a-run.stderr
+++ b/testsuite/tests/typecheck/should_run/T9497a-run.stderr
@@ -1,5 +1,5 @@
-T9497a-run: T9497a-run.hs:2:8:
-    Found hole ‘_main’ with type: IO ()
+T9497a-run: T9497a-run.hs:2:8: error:
+    Found hole: _main :: IO ()
     Or perhaps ‘_main’ is mis-spelled, or not in scope
     Relevant bindings include
       main :: IO () (bound at T9497a-run.hs:2:1)
diff --git a/testsuite/tests/typecheck/should_run/T9497b-run.stderr b/testsuite/tests/typecheck/should_run/T9497b-run.stderr
index a53262e..02fda34 100644
--- a/testsuite/tests/typecheck/should_run/T9497b-run.stderr
+++ b/testsuite/tests/typecheck/should_run/T9497b-run.stderr
@@ -1,5 +1,5 @@
-T9497b-run: T9497b-run.hs:2:8:
-    Found hole ‘_main’ with type: IO ()
+T9497b-run: T9497b-run.hs:2:8: error:
+    Found hole: _main :: IO ()
     Or perhaps ‘_main’ is mis-spelled, or not in scope
     Relevant bindings include
       main :: IO () (bound at T9497b-run.hs:2:1)
diff --git a/testsuite/tests/typecheck/should_run/T9497c-run.stderr b/testsuite/tests/typecheck/should_run/T9497c-run.stderr
index f991cd6..5fe0743 100644
--- a/testsuite/tests/typecheck/should_run/T9497c-run.stderr
+++ b/testsuite/tests/typecheck/should_run/T9497c-run.stderr
@@ -1,5 +1,5 @@
-T9497c-run: T9497c-run.hs:2:8:
-    Found hole ‘_main’ with type: IO ()
+T9497c-run: T9497c-run.hs:2:8: error:
+    Found hole: _main :: IO ()
     Or perhaps ‘_main’ is mis-spelled, or not in scope
     Relevant bindings include
       main :: IO () (bound at T9497c-run.hs:2:1)



More information about the ghc-commits mailing list