summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/issues/test-issue109.scxml16
1 files changed, 8 insertions, 8 deletions
diff --git a/test/issues/test-issue109.scxml b/test/issues/test-issue109.scxml
index bb366dd..4e6373d 100644
--- a/test/issues/test-issue109.scxml
+++ b/test/issues/test-issue109.scxml
@@ -1,17 +1,17 @@
-<scxml datamodel="lua" initial="StateShape1" name="ScxmlShape1" version="1.0" xmlns="http://www.w3.org/2005/07/scxml">
+<scxml datamodel="lua" initial="s0" version="1.0" xmlns="http://www.w3.org/2005/07/scxml">
<datamodel>
<data id="VarArray">{ 0, 0, 0 }</data>
<data expr="1" id="Var1"/>
</datamodel>
- <state id="StateShape1">
+ <state id="s0">
<onentry>
<assign expr="555" location="VarArray[Var1]"/>
</onentry>
- <transition cond="VarArray[1]~=0" target="Pass"/>
- <transition event="error.*" target="Fail"/>
- <transition cond="VarArray[1]==0" target="Unknown"/>
+ <transition cond="VarArray[1]~=0" target="pass"/>
+ <transition target="fail">
+ <log expr="VarArray[1]" />
+ </transition>
</state>
- <final id="Pass"/>
- <final id="Fail"/>
- <final id="Unknown"/>
+ <final id="pass"/>
+ <final id="fail"/>
</scxml>