From cbb5572b214621ccbbac653a46f711a8d5944cc0 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Wed, 29 Mar 2023 10:55:56 -0400 Subject: [PATCH] Clean up some tests, adding newlines at EOF where they're missing. The advent430 command interpreter accidentally accepted input lines with no trailing newline. Thus, these files produced spurious mismatches. --- tests/dropcagedbird.log | 2 +- tests/fail_hint_woods.log | 2 +- tests/flyback.chk | 2 -- tests/flyback.log | 1 - tests/hint_dark.log | 2 +- tests/hint_witt.log | 2 +- tests/pirate_carry.log | 2 +- tests/reach_noclimb.log | 2 +- tests/reach_planttop.log | 2 +- tests/saveresumeopt.log | 1 + tests/tall.log | 2 +- tests/woodshint.log | 2 +- 12 files changed, 10 insertions(+), 12 deletions(-) diff --git a/tests/dropcagedbird.log b/tests/dropcagedbird.log index ba90580..c7adca1 100644 --- a/tests/dropcagedbird.log +++ b/tests/dropcagedbird.log @@ -25,4 +25,4 @@ take bird drop cage d d -feed snake \ No newline at end of file +feed snake diff --git a/tests/fail_hint_woods.log b/tests/fail_hint_woods.log index 5c37435..3df72f4 100644 --- a/tests/fail_hint_woods.log +++ b/tests/fail_hint_woods.log @@ -24,4 +24,4 @@ z z z z -z \ No newline at end of file +z diff --git a/tests/flyback.chk b/tests/flyback.chk index a60fe97..04b658c 100644 --- a/tests/flyback.chk +++ b/tests/flyback.chk @@ -2038,8 +2038,6 @@ There is a Persian rug here, hovering in mid-air! A brilliant blue star sapphire is here! -> - > You scored 257 out of a possible 430, using 337 turns. diff --git a/tests/flyback.log b/tests/flyback.log index b849cc8..c4335de 100644 --- a/tests/flyback.log +++ b/tests/flyback.log @@ -340,4 +340,3 @@ drop emerald fly rug fly rug fly rug - diff --git a/tests/hint_dark.log b/tests/hint_dark.log index b522b90..ddc9bc9 100644 --- a/tests/hint_dark.log +++ b/tests/hint_dark.log @@ -29,4 +29,4 @@ z z z y -y \ No newline at end of file +y diff --git a/tests/hint_witt.log b/tests/hint_witt.log index fd2a4f2..bafb070 100644 --- a/tests/hint_witt.log +++ b/tests/hint_witt.log @@ -400,4 +400,4 @@ n n n y -y \ No newline at end of file +y diff --git a/tests/pirate_carry.log b/tests/pirate_carry.log index c84b393..0ba55c4 100644 --- a/tests/pirate_carry.log +++ b/tests/pirate_carry.log @@ -44,4 +44,4 @@ e u w wave rod -w \ No newline at end of file +w diff --git a/tests/reach_noclimb.log b/tests/reach_noclimb.log index 42af7c5..59768ea 100644 --- a/tests/reach_noclimb.log +++ b/tests/reach_noclimb.log @@ -24,4 +24,4 @@ w w w d -climb \ No newline at end of file +climb diff --git a/tests/reach_planttop.log b/tests/reach_planttop.log index bbdf94b..730ea1b 100644 --- a/tests/reach_planttop.log +++ b/tests/reach_planttop.log @@ -50,4 +50,4 @@ s s d water plant -climb \ No newline at end of file +climb diff --git a/tests/saveresumeopt.log b/tests/saveresumeopt.log index af159ff..f5256c2 100644 --- a/tests/saveresumeopt.log +++ b/tests/saveresumeopt.log @@ -1,2 +1,3 @@ ## Simple quit +#NOCOMPARE New feature, -r option #options: -r saveresume.adv diff --git a/tests/tall.log b/tests/tall.log index 19081c6..eaebfad 100644 --- a/tests/tall.log +++ b/tests/tall.log @@ -164,4 +164,4 @@ e s n n -w \ No newline at end of file +w diff --git a/tests/woodshint.log b/tests/woodshint.log index 6db609a..4472b49 100644 --- a/tests/woodshint.log +++ b/tests/woodshint.log @@ -63,4 +63,4 @@ n n n w -n \ No newline at end of file +n -- 2.31.1