summaryrefslogtreecommitdiff
path: root/testsuite/tests/programs
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2017-09-06 14:42:02 +0200
committerGabor Greif <ggreif@gmail.com>2017-09-07 11:55:07 +0200
commitd97a6fe2b97c81a167219eae892d3820c0685435 (patch)
tree4387af534308dbaa966a80f28abc3ceeabf43219 /testsuite/tests/programs
parentfee403fd935479e8a1ad563fd07585d91c7e04a2 (diff)
downloadhaskell-d97a6fe2b97c81a167219eae892d3820c0685435.tar.gz
Fix typos in diagnostics, testsuite and comments
Diffstat (limited to 'testsuite/tests/programs')
-rw-r--r--testsuite/tests/programs/andy_cherry/Interp.hs2
-rw-r--r--testsuite/tests/programs/andy_cherry/andy_cherry.stdout2
-rw-r--r--testsuite/tests/programs/andy_cherry/mygames.pgn2
-rw-r--r--testsuite/tests/programs/galois_raytrace/Geometry.hs2
4 files changed, 4 insertions, 4 deletions
diff --git a/testsuite/tests/programs/andy_cherry/Interp.hs b/testsuite/tests/programs/andy_cherry/Interp.hs
index 7d33e896cf..e323dc34f7 100644
--- a/testsuite/tests/programs/andy_cherry/Interp.hs
+++ b/testsuite/tests/programs/andy_cherry/Interp.hs
@@ -94,7 +94,7 @@
getCurrColour `thenP` \ col ->
let
invert Black r = r -- because the move has *already* happend
- invert _ "0.00" = "0.00" -- dont negate 0
+ invert _ "0.00" = "0.00" -- don't negate 0
invert _ ('-':r) = r
invert _ r = '-':r
in
diff --git a/testsuite/tests/programs/andy_cherry/andy_cherry.stdout b/testsuite/tests/programs/andy_cherry/andy_cherry.stdout
index 8cb61fe7b3..da1bf8c8bd 100644
--- a/testsuite/tests/programs/andy_cherry/andy_cherry.stdout
+++ b/testsuite/tests/programs/andy_cherry/andy_cherry.stdout
@@ -7076,7 +7076,7 @@ white scored a decisive victory.
\end{tabular}}|
\end{center}
|13.~h3, Bh5; 14.~Nbd2, Rfd8; 15.~Nb3, Qd6; 16.~Qe2, Rab8; 17.~Red1|
-Fritz is deperate to put h3, but I dont see why.
+Fritz is desperate to put h3, but I don't see why.
\begin{center}|
{\bf\begin{tabular}{rp{50pt}p{50pt}}
13 & \ldots & Nh5\\
diff --git a/testsuite/tests/programs/andy_cherry/mygames.pgn b/testsuite/tests/programs/andy_cherry/mygames.pgn
index 742e03bbc9..697b4d66f0 100644
--- a/testsuite/tests/programs/andy_cherry/mygames.pgn
+++ b/testsuite/tests/programs/andy_cherry/mygames.pgn
@@ -1299,7 +1299,7 @@ like Game 7 of the Short-Kasparov WC, where Kasparov as white scored a
decisive victory.}) 8... Bg4 9. d3 h6 10. Be3 O-O (10... Bxe3 11. Rxe3
O-O 12. a4 b4 13. h3 Bh5 14. Nbd2 Rb8 {=}) 11. Bxc5 dxc5 12. Bc2 Qd7
13. Nbd2 (13. h3 Bh5 14. Nbd2 Rfd8 15. Nb3 Qd6 16. Qe2 Rab8 17. Red1 {
-Fritz is deperate to put h3, but I dont see why.}) 13... Nh5 {} (13...
+Fritz is desperate to put h3, but I don't see why.}) 13... Nh5 {} (13...
Rad8 {is an idea.}) 14. Nb3 (14. h3 {<saw>,0.33 I now agree with this,
because the knight block the h5 retreat square.}) 14... Nf4 {?} (14...
Qd6 15. h3 Be6 16. Ng5 Bxb3 17. axb3 Nf4 18. Nf3 {<sab>}) 15. Nxc5 Qc8 (
diff --git a/testsuite/tests/programs/galois_raytrace/Geometry.hs b/testsuite/tests/programs/galois_raytrace/Geometry.hs
index 8bca3a3e89..3c00f7b233 100644
--- a/testsuite/tests/programs/galois_raytrace/Geometry.hs
+++ b/testsuite/tests/programs/galois_raytrace/Geometry.hs
@@ -293,7 +293,7 @@ offsetToPoint (r,v) i = r `addPV` (i `multSV` v)
--
-epsilon, inf :: Double -- aproximate zero and infinity
+epsilon, inf :: Double -- approximate zero and infinity
epsilon = 1.0e-10
inf = 1.0e20