From: Torbjörn Andersson Date: Sat, 1 Apr 2023 08:39:21 +0000 (+0200) Subject: Spelling fixes X-Git-Tag: 1.15~14 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=refs%2Fmerge-requests%2F290%2Fhead;p=open-adventure.git Spelling fixes --- diff --git a/saveresume.c b/saveresume.c index 575b11f..dedb5bb 100644 --- a/saveresume.c +++ b/saveresume.c @@ -172,7 +172,7 @@ int restore(FILE* fp) bool is_valid(struct game_t valgame) { /* Save files can be roughly grouped into three groups: - * With valid, reacheable state, with valid, but unreachable + * With valid, reachable state, with valid, but unreachable * state and with invalid state. We check that state is * valid: no states are outside minimal or maximal value */ diff --git a/tests/Makefile b/tests/Makefile index 7e17443..7087e69 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -1,4 +1,4 @@ -# Test-suite makefile for opeb-adventure +# Test-suite makefile for open-adventure # Use absolute path so tests that change working directory still use # scripts from parent directory. Note that using $PWD seems to fail @@ -92,8 +92,8 @@ scheck7: @./outcheck.sh "test -r with valid input" SCHECKS = scheck1 scheck2 scheck3 scheck4 scheck5 scheck6 scheck7 -# Don't run this from here, you'll get ctyptic warnings and no good result -# if the advent binary wasn't built with covrage flags. Do "make clean covetage" +# Don't run this from here, you'll get cryptic warnings and no good result +# if the advent binary wasn't built with coverage flags. Do "make clean coverage" # from the top-level directory. coverage: check lcov -t "advent" -o $(PARDIR)/advent.info -c -d $(PARDIR) --gcov-tool=$(GCOV) @@ -134,12 +134,12 @@ count: # does not remove them). # # The diff file produced has corrected spellings in it. That's what oldfilter -# is for, to massage out the original dpellings and avoid noise diffs. +# is for, to massage out the original spellings and avoid noise diffs. # Diffs in amount of whitespace and trailing whitespace are ignored # # A magic comment of NOCOMPARE in a log file excludes it from this comparison. # making it a skipped test in the TAP view. First use of this was to avoid a -# spurious mismatch on the news text. Other uses avoid spurios mismatches due +# spurious mismatch on the news text. Other uses avoid spurious mismatches due # to bug fixes. # # When adding more tests, bear in mind that any game that continues after a diff --git a/tests/coverage_dungeon.py b/tests/coverage_dungeon.py index e615239..c583ffb 100755 --- a/tests/coverage_dungeon.py +++ b/tests/coverage_dungeon.py @@ -99,7 +99,7 @@ def obj_coverage(objects, text, report): def loc_coverage(locations, text, report): # locations have a long and a short description, that each have to - # be checked seperately + # be checked separately for name, loc in locations: desc = loc["description"] if name not in report["messages"]: @@ -173,7 +173,7 @@ def actions_coverage(items, text, report): report["covered"] += 1 def coverage_report(db, check_file_contents): - # Create report for each catagory, including total items, number of items + # Create report for each category, including total items, number of items # covered, and a list of the covered messages report = {} for name in db.keys(): diff --git a/tests/foobug.log b/tests/foobug.log index 8ff35b8..8e3dc8f 100644 --- a/tests/foobug.log +++ b/tests/foobug.log @@ -1,5 +1,5 @@ -## Test interpersing commands amidst magic words -# Check for "Nothing happens." in game output indicatung sequence interrupt. +## Test interspersing commands amidst magic words +# Check for "Nothing happens." in game output indicating sequence interrupt. no seed 1318612053 e diff --git a/tests/pitfall.log b/tests/pitfall.log index 6c5adc7..6532713 100644 --- a/tests/pitfall.log +++ b/tests/pitfall.log @@ -1,5 +1,5 @@ ## Death by pitfall -# Die 3 times so we can cover all the opituary messages +# Die 3 times so we can cover all the obituary messages n seed 780351908 enter building diff --git a/tests/saveresume.1.log b/tests/saveresume.1.log index 77a20ce..45945ce 100644 --- a/tests/saveresume.1.log +++ b/tests/saveresume.1.log @@ -1,5 +1,5 @@ ## Save right after starting -#NOCOMPARE Can't compare to asvent430 due to version skew +#NOCOMPARE Can't compare to advent430 due to version skew n seed 1240742801 save diff --git a/tests/saveresume.2.log b/tests/saveresume.2.log index 23dcc9e..71db28c 100644 --- a/tests/saveresume.2.log +++ b/tests/saveresume.2.log @@ -1,5 +1,5 @@ ## Resume and then quit -#NOCOMPARE Can't compate to asvent430 due to version skew +#NOCOMPARE Can't compare to advent430 due to version skew n in resume diff --git a/tests/savetamper.log b/tests/savetamper.log index f86e977..0396e99 100644 --- a/tests/savetamper.log +++ b/tests/savetamper.log @@ -1,5 +1,5 @@ ## Resume from artificial "corrupted" save -#NOCOMPARE Can't compare to asvent430 due to version skew +#NOCOMPARE Can't compare to advent430 due to version skew n resume cheat_savetamper.adv diff --git a/tests/weirdbird.log b/tests/weirdbird.log index 78ae7de..37f4a36 100644 --- a/tests/weirdbird.log +++ b/tests/weirdbird.log @@ -36,7 +36,7 @@ take bird get rod wave rod attack bird -# Also, test grare as a motion verb. +# Also, test grate as a motion verb. grate up n