From beae508e1d7e785e4df3bf27c1e1a456200d74a7 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Wed, 6 Apr 2022 14:54:43 -0400 Subject: [PATCH] Add a test for the isolated-foo case --- tests/fail_hint_ogre2.log | 2 +- tests/isofoo.chk | 19 +++++++++++++++++++ tests/isofoo.log | 3 +++ 3 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 tests/isofoo.chk create mode 100644 tests/isofoo.log diff --git a/tests/fail_hint_ogre2.log b/tests/fail_hint_ogre2.log index a7d9627..4961479 100644 --- a/tests/fail_hint_ogre2.log +++ b/tests/fail_hint_ogre2.log @@ -1,4 +1,4 @@ -## Quaify for ogre hint but fail due to nearby dwarf (fuzzed) +## Qualify for ogre hint but fail due to nearby dwarf (fuzzed) n seed 25508795 in diff --git a/tests/isofoo.chk b/tests/isofoo.chk new file mode 100644 index 0000000..1c0cbaf --- /dev/null +++ b/tests/isofoo.chk @@ -0,0 +1,19 @@ + +Welcome to Adventure!! Would you like instructions? + +> n + +You are standing at the end of a road before a small brick building. +Around you is a forest. A small stream flows out of the building and +down a gully. + +> foo + +Nothing happens. + + +You scored 32 out of a possible 430, using 1 turn. + +You are obviously a rank amateur. Better luck next time. + +To achieve the next higher rating, you need 14 more points. diff --git a/tests/isofoo.log b/tests/isofoo.log new file mode 100644 index 0000000..82b5906 --- /dev/null +++ b/tests/isofoo.log @@ -0,0 +1,3 @@ +## Test isolated 'foo' word +n +foo -- 2.31.1