_event.data type in tests

Hey there,

I am still trying to pass the revised tests and stumbled upon a distinction of _event.data in case of error between test343 and test488:

test343: <transition event="done.state.s0" cond="_event.data == null" target="pass"/>
test488: <transition event="done.state.s0" cond="_event.data === ''" target="pass"/>

In test343, we try to assign from an undeclared variable via donedata/param and in test488 we try to do the same with a ECMAScript keyword ("return"). I don't think this distinction makes sense as both cases test for "empty data". We agreed upon "undefined" for strings in _event - what to make of data now?

Regards
Stefan

Received on Sunday, 7 April 2013 16:59:36 UTC