diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/issues/test-issue84.scxml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/test/issues/test-issue84.scxml b/test/issues/test-issue84.scxml new file mode 100644 index 0000000..09fd265 --- /dev/null +++ b/test/issues/test-issue84.scxml @@ -0,0 +1,22 @@ +<scxml datamodel="lua" initial="Start" name="Root" version="1.0" xmlns="http://www.w3.org/2005/07/scxml"> + <datamodel> + <data id="testTable">{ + a=555,b=777,c=888 +} + </data> + </datamodel> + <final id="pass"/> + <final id="fail"/> + <state id="Start"> + <onentry> + <script>print('*************************') +print(type(testTable)) +for k,v in pairs(testTable) do + print(string.format("key=%s,value=%s",tostring(k),tostring(v))) +end + </script> + </onentry> + <transition target="pass"/> + <transition event="error.*" target="Fail"/> + </state> +</scxml> |