From ea23b917c0b54fc65600866dcef39f655e76efa4 Mon Sep 17 00:00:00 2001 From: Alexey Fedoseev Date: Wed, 24 Apr 2024 18:35:38 +0300 Subject: [PATCH] add event argument to test --- tests/12-output.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/12-output.txt b/tests/12-output.txt index d828a75..e7fcece 100644 --- a/tests/12-output.txt +++ b/tests/12-output.txt @@ -1,2 +1,2 @@ -Document: {id: '', name: '', format: 'Cyberiada-GraphML-1.0', meta: {standard version: '1.0', transition order: transition first, event propagation: block events}, elements: {State Machine: {id: 'G0', name: 'SM', elements: {Composite State: {id: 'n0', name: 'State 1', actions: {a {entry}, a {exit, behavior: 'exit();'}}, elements: {Simple State: {id: 'n0::n0', name: 'State 2', actions: {a {trigger: 'EVENT', guard: 'is_guard()', behavior: 'action();'}, a {trigger: 'EVENT', guard: 'is_guard() && is_second()', behavior: 'action1(); +Document: {id: '', name: '', format: 'Cyberiada-GraphML-1.0', meta: {standard version: '1.0', transition order: transition first, event propagation: block events}, elements: {State Machine: {id: 'G0', name: 'SM', elements: {Composite State: {id: 'n0', name: 'State 1', actions: {a {entry}, a {exit, behavior: 'exit();'}}, elements: {Simple State: {id: 'n0::n0', name: 'State 2', actions: {a {trigger: 'EVENT', guard: 'is_guard()', behavior: 'action();'}, a {trigger: 'EVENT(b)', guard: 'is_guard() && is_second()', behavior: 'action1(); action2();'}, a {trigger: 'EVENT', guard: 'else'}, a {entry, behavior: 'init();'}}}}}}}}