W3C home > Mailing lists > Public > www-voice@w3.org > January to March 2014

Re: [SCXML] bad tests with inline values

From: David Junger <tffy@free.fr>
Date: Wed, 19 Mar 2014 16:07:04 +0100
Message-Id: <7B35F11A-80C2-4E96-B45C-52690E5ED858@free.fr>
To: Voice Public List <www-voice@w3.org>
Le 19 mar 2014 à 15:06, Jim Barnett <1jhbarnett@gmail.com> a écrit :

> I'm not sure that I understand the conclusion of this discussion.  Do we have agreement on what to do with the tests?

I think the gist is that it looks better if the value in the condition is exactly (including the type) the value you used to define the data. If you want to do anything, just fix that, i.e. either use quotes in the data or don't use quotes in the condition.
But it doesn't break the test to compare a string with a number as long as you keep writing the condition as an equivalence (==), which you should keep doing.

Received on Wednesday, 19 March 2014 15:07:37 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:04:01 UTC