Deal around newline-only lines pruned to zero-lenght

Test for that, too
This commit is contained in:
NHOrus 2017-07-07 11:21:37 +03:00
parent ef97d579ea
commit 551838cea2
5 changed files with 26 additions and 3 deletions

View file

@ -273,6 +273,10 @@ With what? Your bare hands?
Please answer the question.
> green
Please answer the question.
> n
The dragon looks rather nasty. You'd best not try to get by.

View file

@ -50,7 +50,8 @@ drop bird
extinguish dragon
kill dragon
green
n
kill dragon
y
kill dragon
kill dragon

View file

@ -7,6 +7,12 @@ Please answer the question.
Welcome to Adventure!! Would you like instructions?
>
Please answer the question.
Welcome to Adventure!! Would you like instructions?
> y
Somewhere nearby is Colossal Cave, where others have found fortunes in

View file

@ -1,5 +1,6 @@
## Test for various cases not found in walkthroughs.
foo
y
seed 1801426495
version