summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Thompson <dthompson@vistahigherlearning.com>2021-04-26 12:27:52 -0400
committerDavid Thompson <dthompson@vistahigherlearning.com>2021-04-26 12:27:52 -0400
commit2bb26f9503073a42f71762d8b2cc0a963d1be133 (patch)
tree75c372031b70cd3ebdaf0127acca8b51c9ea763f
parentbe74d029b876471eb524ce7047ae303f7896d967 (diff)
Don't crash when the user enters a blank terminal command.
-rw-r--r--test-subject/game.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/test-subject/game.scm b/test-subject/game.scm
index c5dd535..ba928c8 100644
--- a/test-subject/game.scm
+++ b/test-subject/game.scm
@@ -359,6 +359,7 @@
#t))))
(define (run-command command)
(match command
+ (() #t)
(("help")
(help))
(("exit")