diff options
author | Brian Wignall <brianwignall@gmail.com> | 2019-12-19 09:11:42 -0500 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2020-01-04 15:55:06 -0500 |
commit | 3c9dc06ba2034e867c9169e60e854539875654fd (patch) | |
tree | f06e599ca380ee9ad599918b2ae4c78cd4afce2b /testsuite/driver | |
parent | b2e0323f318959c879629ef277f6433b44473c4b (diff) | |
download | haskell-3c9dc06ba2034e867c9169e60e854539875654fd.tar.gz |
Fix typos, via a Levenshtein-style corrector
Diffstat (limited to 'testsuite/driver')
-rw-r--r-- | testsuite/driver/testlib.py | 2 | ||||
-rw-r--r-- | testsuite/driver/testutil.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/driver/testlib.py b/testsuite/driver/testlib.py index 6929f7144c..228a82b942 100644 --- a/testsuite/driver/testlib.py +++ b/testsuite/driver/testlib.py @@ -1185,7 +1185,7 @@ def ghci_script( name, way, script): # script can invoke the correct compiler by using ':! $HC $HC_OPTS' cmd = ('HC={{compiler}} HC_OPTS="{flags}" {{compiler}} {way_flags} {flags}' ).format(flags=flags, way_flags=way_flags) - # NB: put way_flags before flags so that flags in all.T can overrie others + # NB: put way_flags before flags so that flags in all.T can override others getTestOpts().stdin = script return simple_run( name, way, cmd, getTestOpts().extra_run_opts ) diff --git a/testsuite/driver/testutil.py b/testsuite/driver/testutil.py index 19cdbf3625..e33b6a16ab 100644 --- a/testsuite/driver/testutil.py +++ b/testsuite/driver/testutil.py @@ -82,7 +82,7 @@ def testing_metrics(): # are forced to just copy instead. # # We define the following function to make this magic more -# explicit/discoverable. You are enouraged to use it instead of os.symlink. +# explicit/discoverable. You are encouraged to use it instead of os.symlink. if platform.system() == 'Windows' and os.getenv('FORCE_SYMLINKS') == None: def link_or_copy_file(src: Path, dst: Path): shutil.copyfile(str(src), str(dst)) |