summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2012-04-20 13:59:30 +0200
committerQt by Nokia <qt-info@nokia.com>2012-04-20 15:49:33 +0200
commit36ff2e99f7474c93b3a8f6578a2717dad81034d7 (patch)
treecc3fde3d94343997ea845dfae60b1f1bde7ed038 /tests
parent08a3b2ea08480ef2f5b4ebc9d9a1442d45e1fa4c (diff)
downloadqtxmlpatterns-36ff2e99f7474c93b3a8f6578a2717dad81034d7.tar.gz
Use a QMap instead of a QHash for the regexp flags
This is unit-tested, so we need a predictable order. Therefore, we can't use QHash anymore. Besides, this is just for 4 elements, so there shouldn't be a perceptible overhead. Change-Id: I878f77982e8070f3bc30bd2458e26e61b22f313d Reviewed-by: Giuseppe D'Angelo <dangelog@gmail.com> Reviewed-by: Toby Tomkins <toby.tomkins@nokia.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/xmlpatterns/stderrBaselines/PrintalistofavailableregexpflagsTheavailableflagsareformattedinacomplexway..txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/xmlpatterns/stderrBaselines/PrintalistofavailableregexpflagsTheavailableflagsareformattedinacomplexway..txt b/tests/auto/xmlpatterns/stderrBaselines/PrintalistofavailableregexpflagsTheavailableflagsareformattedinacomplexway..txt
index 9f09298..ff54402 100644
--- a/tests/auto/xmlpatterns/stderrBaselines/PrintalistofavailableregexpflagsTheavailableflagsareformattedinacomplexway..txt
+++ b/tests/auto/xmlpatterns/stderrBaselines/PrintalistofavailableregexpflagsTheavailableflagsareformattedinacomplexway..txt
@@ -1,5 +1,5 @@
Error FORX0001 in file:///home/fenglich/dev/qt-xslt/tests/auto/xmlpatterns/queries/invalidRegexpFlag.xq, at line 1, column 1: I is an invalid flag for regular expressions. Valid flags are:
-x - Whitespace characters are removed, except when they appear in character classes
i - Matches are case insensitive
m - ^ and $ match the start and end of a line.
s - . matches newline characters
+x - Whitespace characters are removed, except when they appear in character classes