Add regression test for split commands.

This commit is contained in:
Eric S. Raymond 2017-08-01 19:40:28 -04:00
parent a00229050a
commit 25e6b11fd0
3 changed files with 13 additions and 2 deletions

1
NEWS
View file

@ -1,6 +1,7 @@
= Open Adventure project news =
Repository head:
Split commands with objectless transitive verbs are handled correctly.
Test suite has 100% code coverage.
1.2: 2017-07-11::

View file

@ -457,6 +457,14 @@ There is a shiny brass lamp nearby.
There is food here.
> get
Get what?
> food
OK
> eat food
Thank you, it was delicious!
@ -610,7 +618,7 @@ Okay, "boo".
> score
You have garnered 27 out of a possible 430 points, using 115 turns.
You have garnered 27 out of a possible 430 points, using 117 turns.
> z
@ -618,7 +626,7 @@ OK
> score
You have garnered 27 out of a possible 430 points, using 117 turns.
You have garnered 27 out of a possible 430 points, using 119 turns.
> quit keys

View file

@ -93,6 +93,8 @@ fly keys
pour keys
throw keys
foo up
get
food
eat food
drink blood
drink keys