From 7701642e0c5bbe9f9b437d2692dd15ab9aaf5170 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Wed, 14 Nov 2018 13:03:33 -0500 Subject: [PATCH] Regression test for GitLab issue #37 fix. --- tests/issue37.chk | 40 ++++++++++++++++++++++++++++++++++++++++ tests/issue37.log | 6 ++++++ 2 files changed, 46 insertions(+) create mode 100644 tests/issue37.chk create mode 100644 tests/issue37.log diff --git a/tests/issue37.chk b/tests/issue37.chk new file mode 100644 index 0000000..6d8772b --- /dev/null +++ b/tests/issue37.chk @@ -0,0 +1,40 @@ + +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. + +> in + +You are inside a building, a well house for a large spring. + +There are some keys on the ground here. + +There is a shiny brass lamp nearby. + +There is food here. + +There is a bottle of water here. + +> food + +What do you want to do with the food? + +> get + +OK + +> inventory + +You are currently holding the following: +Tasty food + + +You scored 32 out of a possible 430, using 4 turns. + +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/issue37.log b/tests/issue37.log new file mode 100644 index 0000000..ded6a10 --- /dev/null +++ b/tests/issue37.log @@ -0,0 +1,6 @@ +## Test handling of transitive verb after noun +n +in +food +get +inventory -- 2.31.1