Commit 4fd62218 authored by Ben Gamari's avatar Ben Gamari Committed by Ben Gamari
Browse files

Fix T2507 expected output

This seems to have been changed in
07282c72 to include Unicode quotes
despite the fact that we explicitly set LC_ALL=C in the Makefile to
request standard ASCII output.
parent 9938a40e
......@@ -550,6 +550,10 @@ T7130:
T7563:
-"$(TEST_HC)" $(TEST_HC_OPTS_NO_RECOMP) -C T7563.hs
# Below we set LC_ALL=C to request standard ASCII output in the resulting error
# messagse. Unfortunately, Mac OS X still uses a Unicode encoding even with
# LC_ALL=C, so we expect these tests to fail there.
.PHONY: T6037
T6037:
-LC_ALL=C "$(TEST_HC)" $(TEST_HC_OPTS_NO_RECOMP) -c T6037.hs
......
T2507.hs:5:7:
Couldn't match expected type Int with actual type ()
Couldn't match expected type `Int' with actual type `()'
In the expression: ()
In an equation for foo: foo = ()
In an equation for `foo': foo = ()
......@@ -384,8 +384,14 @@ test('T7060',
test('T7130', normal, compile_fail, ['-fflul-laziness'])
test('T7563', when(unregisterised(), skip), run_command,
['$MAKE -s --no-print-directory T7563'])
test('T6037', expect_broken(6037), run_command,
test('T6037',
# The testsuite doesn't know how to set a non-Unicode locale on Windows or Mac OS X
[when(opsys('mingw32'), expect_fail), when(opsys('darwin'), expect_fail),
expect_broken(6037)],
run_command,
['$MAKE -s --no-print-directory T6037'])
test('T2507',
# The testsuite doesn't know how to set a non-Unicode locale on Windows or Mac OS X
[when(opsys('mingw32'), expect_fail), when(opsys('darwin'), expect_fail)],
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment