diff options
author | Erik Verbruggen <erik.verbruggen@theqtcompany.com> | 2016-08-03 11:03:04 +0200 |
---|---|---|
committer | Liang Qi <liang.qi@qt.io> | 2016-08-03 09:26:22 +0000 |
commit | ece543e2388b4f6ad36e67d078ae9276cec11b45 (patch) | |
tree | dd9eae470dab5f0814dcd649924a47ab18e3122c /tests | |
parent | 42028b2f16873cfb55ad919def759203d01be093 (diff) |
Fix test after change in qtbase
After d4302ec6936b8b3799a266b640b5d116b3296b29, the QXmlStreamReader
will reject more invalid characters for an NMToken. So, instead of the
SCXML parser giving an error, the stream reader will give an error. This
changes checks for that error.
Task-number: QTBUG-55106
Change-Id: Ie8d43b040f0bbe16894ed6ad88157cae2a04fb7e
Reviewed-by: Liang Qi <liang.qi@qt.io>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/parser/data/invalidstatemachinename.scxml.errors | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/parser/data/invalidstatemachinename.scxml.errors b/tests/auto/parser/data/invalidstatemachinename.scxml.errors index 250adb8..dbd1a34 100644 --- a/tests/auto/parser/data/invalidstatemachinename.scxml.errors +++ b/tests/auto/parser/data/invalidstatemachinename.scxml.errors @@ -1 +1 @@ -:/tst_parser/data/invalidstatemachinename.scxml:3:55: error: scxml name 'CalculatortateMachine' is not a valid XML Nmtoken +:/tst_parser/data/invalidstatemachinename.scxml:3:42: error: Missing root element |