summaryrefslogtreecommitdiffstats
path: root/test/w3c/lua/test309.scxml
diff options
context:
space:
mode:
Diffstat (limited to 'test/w3c/lua/test309.scxml')
-rw-r--r--test/w3c/lua/test309.scxml10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/w3c/lua/test309.scxml b/test/w3c/lua/test309.scxml
new file mode 100644
index 0000000..8a9195c
--- /dev/null
+++ b/test/w3c/lua/test309.scxml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- test that an expression that cannot be interpreted as a boolean is treated as false -->
+<scxml xmlns="http://www.w3.org/2005/07/scxml" version="1.0" initial="s0" datamodel="lua">
+ <state id="s0">
+ <transition cond="@@@@@@@@@@@@@@@@" target="fail"/>
+ <transition target="pass"/>
+ </state>
+ <final id="pass"/>
+ <final id="fail"/>
+</scxml>