diff options
author | Stefan Radomski <github@mintwerk.de> | 2017-04-26 19:35:29 (GMT) |
---|---|---|
committer | Stefan Radomski <github@mintwerk.de> | 2017-04-26 19:35:29 (GMT) |
commit | 2b9e5d72a31c5060a443a0535d2d139326c51f04 (patch) | |
tree | df7ad0c94f43b5872991f8e223a6b7c9da2f75cd /test/issues | |
parent | 3a7350b931705b2ab3aa6f1516512e37038e9899 (diff) | |
download | uscxml-2b9e5d72a31c5060a443a0535d2d139326c51f04.zip uscxml-2b9e5d72a31c5060a443a0535d2d139326c51f04.tar.gz uscxml-2b9e5d72a31c5060a443a0535d2d139326c51f04.tar.bz2 |
Fixed issue109
Diffstat (limited to 'test/issues')
-rw-r--r-- | test/issues/test-issue109.scxml | 16 |
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> |