aboutsummaryrefslogtreecommitdiff
path: root/tests/sauer/command.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/sauer/command.cpp')
-rw-r--r--tests/sauer/command.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/sauer/command.cpp b/tests/sauer/command.cpp
index 0b0afc68..7c39522f 100644
--- a/tests/sauer/command.cpp
+++ b/tests/sauer/command.cpp
@@ -1409,6 +1409,7 @@ int main()
execute("somevar 9");
execute("temp = (+ 22 $somevar)");
execute("if (> $temp 30) [ temp = (+ $temp 1) ] [ temp = (* $temp 2) ]");
+ execute("if (< $temp 30) [ temp = 0 ] [ temp = (+ $temp 1) ]");
execute("echo [*Temp is] $temp");
printf("%d*\n", getvar("somevar"));
return 0;