#5351: Unexpected failure: message format changed
----------------------------------+-----------------------------------------
Reporter: daniel.is.fischer | Owner:
Type: bug | Status: new
Priority: normal | Component: Test Suite
Version: 7.1 | Keywords:
Testcase: | Blockedby:
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: None/Unknown
----------------------------------+-----------------------------------------
apirecomp001 fails unexpectedly with
{{{
Actual stderr output differs from expected:
--- ./ghc-api/apirecomp001/apirecomp001.stderr 2011-07-27
18:41:56.216000004 +0200
+++ ./ghc-api/apirecomp001/apirecomp001.run.stderr 2011-07-27
20:07:41.321000006 +0200
@@ -5,8 +5,8 @@
B.hs:5:12:
Warning: Defaulting the following constraint(s) to type `Integer'
- (Enum a0) arising from the arithmetic sequence `1 .. 23 *
2'
- at B.hs:5:12-20
+ (Enum a0)
+ arising from the arithmetic sequence `1 .. 23 * 2' at
B.hs:5:12-20
(Num a0) arising from the literal `2' at B.hs:5:19
In the first argument of `length', namely `[1 .. 23 * 2]'
In the first argument of `(-)', namely `length [1 .. 23 * 2]'
@@ -21,8 +21,8 @@
B.hs:5:12:
Warning: Defaulting the following constraint(s) to type `Integer'
- (Enum a0) arising from the arithmetic sequence `1 .. 23 *
2'
- at B.hs:5:12-20
+ (Enum a0)
+ arising from the arithmetic sequence `1 .. 23 * 2' at
B.hs:5:12-20
(Num a0) arising from the literal `2' at B.hs:5:19
In the first argument of `length', namely `[1 .. 23 * 2]'
In the first argument of `(-)', namely `length [1 .. 23 * 2]'
*** unexpected failure for apirecomp001(normal)
}}}
Perhaps the comparison between expected and actual stderr output could be
made whitespace-insensitive?
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5351>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs