From 2455c38a09be3708062fef3e90bc006ab44dfacb Mon Sep 17 00:00:00 2001 From: dan Date: Mon, 29 May 2023 11:05:20 -0400 Subject: tests: add failing nested if test, make runtests.sh return exit code 1 on failure --- tests/nested-ifs3.forth | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 tests/nested-ifs3.forth (limited to 'tests/nested-ifs3.forth') diff --git a/tests/nested-ifs3.forth b/tests/nested-ifs3.forth new file mode 100644 index 0000000..729229d --- /dev/null +++ b/tests/nested-ifs3.forth @@ -0,0 +1,5 @@ +INPUT +: f if 99 . if 88 . then 77 . then 66 . ; +0 0 f +OUTPUT +66 -- cgit v1.2.3