From 91b1662302c14cf84ca8b90c1f3ec20a585f67a5 Mon Sep 17 00:00:00 2001 From: dozens Date: Fri, 7 Jun 2024 17:27:11 -0600 Subject: add ui tests --- test/test.awk | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 test/test.awk (limited to 'test/test.awk') diff --git a/test/test.awk b/test/test.awk new file mode 100644 index 0000000..ef6df20 --- /dev/null +++ b/test/test.awk @@ -0,0 +1,12 @@ +BEGIN { + print "#!/usr/bin/expect -f" + print "spawn fennel main.fnl" +} + +{ print "expect -re \"Player .'s turn:\"" + print "send -- \"" $0 "\\r\"" +} + +END { + print "interact" +} -- cgit 1.4.1-2-gfad0