summaryrefslogtreecommitdiff
path: root/testsuite/tests/arrows
diff options
context:
space:
mode:
authorHerbert Valerio Riedel <hvr@gnu.org>2014-02-23 22:00:57 +0100
committerHerbert Valerio Riedel <hvr@gnu.org>2014-02-25 11:06:51 +0100
commit018676c7f883886b388652c913c99a10d2591b0b (patch)
treeddeb1cd21f74b21f12b1d1ddbc26abb934136587 /testsuite/tests/arrows
parentede5b5180c2a5db3f51b01dbef402d21ace9601c (diff)
downloadhaskell-018676c7f883886b388652c913c99a10d2591b0b.tar.gz
Use U+2018 instead of U+201B quote mark in compiler messages
This matches GCC's choice of Unicode quotation marks (i.e. U+2018 and U+2019) and therefore looks more familiar on the console. This addresses #2507. Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
Diffstat (limited to 'testsuite/tests/arrows')
-rw-r--r--testsuite/tests/arrows/should_fail/T5380.stderr8
-rw-r--r--testsuite/tests/arrows/should_fail/arrowfail001.stderr4
-rw-r--r--testsuite/tests/arrows/should_fail/arrowfail002.stderr2
-rw-r--r--testsuite/tests/arrows/should_fail/arrowfail004.stderr2
4 files changed, 8 insertions, 8 deletions
diff --git a/testsuite/tests/arrows/should_fail/T5380.stderr b/testsuite/tests/arrows/should_fail/T5380.stderr
index 218d36fb9c..02e65c5366 100644
--- a/testsuite/tests/arrows/should_fail/T5380.stderr
+++ b/testsuite/tests/arrows/should_fail/T5380.stderr
@@ -1,7 +1,7 @@
T5380.hs:7:27:
- Couldn't match expected type ‛Bool’ with actual type ‛not_bool’
- ‛not_bool’ is a rigid type variable bound by
+ Couldn't match expected type ‘Bool’ with actual type ‘not_bool’
+ ‘not_bool’ is a rigid type variable bound by
the type signature for
testB :: not_bool -> (() -> ()) -> () -> not_unit
at T5380.hs:6:10
@@ -13,8 +13,8 @@ T5380.hs:7:27:
In the expression: proc () -> if b then f -< () else f -< ()
T5380.hs:7:34:
- Couldn't match type ‛not_unit’ with ‛()’
- ‛not_unit’ is a rigid type variable bound by
+ Couldn't match type ‘not_unit’ with ‘()’
+ ‘not_unit’ is a rigid type variable bound by
the type signature for
testB :: not_bool -> (() -> ()) -> () -> not_unit
at T5380.hs:6:10
diff --git a/testsuite/tests/arrows/should_fail/arrowfail001.stderr b/testsuite/tests/arrows/should_fail/arrowfail001.stderr
index 6dc2cb76c4..5c448c7a16 100644
--- a/testsuite/tests/arrows/should_fail/arrowfail001.stderr
+++ b/testsuite/tests/arrows/should_fail/arrowfail001.stderr
@@ -1,7 +1,7 @@
arrowfail001.hs:16:36:
- No instance for (Foo a) arising from a use of ‛foo’
+ No instance for (Foo a) arising from a use of ‘foo’
In the expression: foo
In the expression: proc x -> case x of { Bar a -> foo -< a }
- In an equation for ‛get’:
+ In an equation for ‘get’:
get = proc x -> case x of { Bar a -> foo -< a }
diff --git a/testsuite/tests/arrows/should_fail/arrowfail002.stderr b/testsuite/tests/arrows/should_fail/arrowfail002.stderr
index 67a93db719..569e1d315d 100644
--- a/testsuite/tests/arrows/should_fail/arrowfail002.stderr
+++ b/testsuite/tests/arrows/should_fail/arrowfail002.stderr
@@ -1,2 +1,2 @@
-arrowfail002.hs:6:17: Not in scope: ‛x’
+arrowfail002.hs:6:17: Not in scope: ‘x’
diff --git a/testsuite/tests/arrows/should_fail/arrowfail004.stderr b/testsuite/tests/arrows/should_fail/arrowfail004.stderr
index 65cef2545b..1386d14ce2 100644
--- a/testsuite/tests/arrows/should_fail/arrowfail004.stderr
+++ b/testsuite/tests/arrows/should_fail/arrowfail004.stderr
@@ -3,5 +3,5 @@ arrowfail004.hs:12:15:
Proc patterns cannot use existential or GADT data constructors
In the pattern: T x
In the expression: proc (T x) -> do { returnA -< T x }
- In an equation for ‛panic’:
+ In an equation for ‘panic’:
panic = proc (T x) -> do { returnA -< T x }