Add regression test for split commands.
authorEric S. Raymond <esr@thyrsus.com>
Tue, 1 Aug 2017 23:40:28 +0000 (19:40 -0400)
committerEric S. Raymond <esr@thyrsus.com>
Tue, 1 Aug 2017 23:40:28 +0000 (19:40 -0400)
NEWS
tests/illformed.chk
tests/illformed.log

diff --git a/NEWS b/NEWS
index 8a2851816fb79e2bb9c410cdb07f70c2dc431abe..2f37057a2822bbb55326cd7ea9b027c8da9aa28e 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,7 @@
 = Open Adventure project news =
 
 Repository head:
 = 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::
   Test suite has 100% code coverage.
 
 1.2: 2017-07-11::
index 4124e53c2d3f8e58243ac2afe95675e0bf507c8a..20f18c979563268a6c47064bc7ade99698b470ad 100644 (file)
@@ -457,6 +457,14 @@ There is a shiny brass lamp nearby.
 
 There is food here.
 
 
 There is food here.
 
+> get
+
+Get what?
+
+> food
+
+OK
+
 > eat food
 
 Thank you, it was delicious!
 > eat food
 
 Thank you, it was delicious!
@@ -610,7 +618,7 @@ Okay, "boo".
 
 > score
 
 
 > 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
 
 
 > z
 
@@ -618,7 +626,7 @@ OK
 
 > score
 
 
 > 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
 
 
 > quit keys
 
index 2645ccf46077608a6190fd7e8ab16b079419986e..09ecb523d76e3b0362f6f8dd71a6a289c74d12fa 100644 (file)
@@ -93,6 +93,8 @@ fly keys
 pour keys
 throw keys
 foo up
 pour keys
 throw keys
 foo up
+get
+food
 eat food
 drink blood
 drink keys
 eat food
 drink blood
 drink keys