summaryrefslogtreecommitdiff
path: root/testsuite/tests/rename
diff options
context:
space:
mode:
authorBrian Wignall <brianwignall@gmail.com>2019-12-19 09:11:42 -0500
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-01-04 15:55:06 -0500
commit3c9dc06ba2034e867c9169e60e854539875654fd (patch)
treef06e599ca380ee9ad599918b2ae4c78cd4afce2b /testsuite/tests/rename
parentb2e0323f318959c879629ef277f6433b44473c4b (diff)
downloadhaskell-3c9dc06ba2034e867c9169e60e854539875654fd.tar.gz
Fix typos, via a Levenshtein-style corrector
Diffstat (limited to 'testsuite/tests/rename')
-rw-r--r--testsuite/tests/rename/should_compile/mc09.hs2
-rw-r--r--testsuite/tests/rename/should_compile/mc10.hs2
-rw-r--r--testsuite/tests/rename/should_fail/T12686.hs2
-rw-r--r--testsuite/tests/rename/should_fail/mc14.hs2
4 files changed, 4 insertions, 4 deletions
diff --git a/testsuite/tests/rename/should_compile/mc09.hs b/testsuite/tests/rename/should_compile/mc09.hs
index f4a62fa617..1e1f2819b5 100644
--- a/testsuite/tests/rename/should_compile/mc09.hs
+++ b/testsuite/tests/rename/should_compile/mc09.hs
@@ -1,6 +1,6 @@
{-# LANGUAGE MonadComprehensions, TransformListComp #-}
--- Test performed for TransformListComp and should work for monad comp aswell:
+-- Test performed for TransformListComp and should work for monad comp as well:
-- GHC 7.0.1 failed because the renamer didn't attach
-- all the used variables to the TransformListComp constructor
diff --git a/testsuite/tests/rename/should_compile/mc10.hs b/testsuite/tests/rename/should_compile/mc10.hs
index fa9774fdfb..e1a4f81e25 100644
--- a/testsuite/tests/rename/should_compile/mc10.hs
+++ b/testsuite/tests/rename/should_compile/mc10.hs
@@ -1,6 +1,6 @@
{-# OPTIONS_GHC -fwarn-unused-matches #-}
{-# LANGUAGE MonadComprehensions, ParallelListComp #-}
--- Test for parallel list comp should work for monad comp aswell:
+-- Test for parallel list comp should work for monad comp as well:
--
-- GHC 6.4 erroneously reported that the
-- bindings for q and z were unused
diff --git a/testsuite/tests/rename/should_fail/T12686.hs b/testsuite/tests/rename/should_fail/T12686.hs
index 5d652f9c57..a9d0da9aa1 100644
--- a/testsuite/tests/rename/should_fail/T12686.hs
+++ b/testsuite/tests/rename/should_fail/T12686.hs
@@ -5,7 +5,7 @@ import Data.Proxy
x = True
data Bad = Bad 'x
--- The 'x should be rejeted in a civilised way
+-- The 'x should be rejected in a civilised way
data AlsoBad = AlsoBad {
a :: Int,
diff --git a/testsuite/tests/rename/should_fail/mc14.hs b/testsuite/tests/rename/should_fail/mc14.hs
index 47d903b922..80bea39e7e 100644
--- a/testsuite/tests/rename/should_fail/mc14.hs
+++ b/testsuite/tests/rename/should_fail/mc14.hs
@@ -1,4 +1,4 @@
--- Test for transform list comp which should work for monad comp aswell:
+-- Test for transform list comp which should work for monad comp as well:
--
-- Test trying to use a function bound in the list comprehension as the group function