projects
/
profile
/
ivi
/
qtxmlpatterns.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't use the QRegExp methods that modify the object
[profile/ivi/qtxmlpatterns.git]
/
tests
/
auto
/
qxmlquery
/
tst_qxmlquery.cpp
diff --git
a/tests/auto/qxmlquery/tst_qxmlquery.cpp
b/tests/auto/qxmlquery/tst_qxmlquery.cpp
index
372bcdb
..
1b5d424
100644
(file)
--- a/
tests/auto/qxmlquery/tst_qxmlquery.cpp
+++ b/
tests/auto/qxmlquery/tst_qxmlquery.cpp
@@
-1728,7
+1728,7
@@
void tst_QXmlQuery::messageXML() const
query.setQuery(QLatin1String("1basicSyntaxError"));
query.setQuery(QLatin1String("1basicSyntaxError"));
-
const
QRegExp removeFilename(QLatin1String("Location: file:.*\\#"));
+ QRegExp removeFilename(QLatin1String("Location: file:.*\\#"));
QVERIFY(removeFilename.isValid());
QVERIFY(messageValidator.success());
QVERIFY(removeFilename.isValid());
QVERIFY(messageValidator.success());