summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/io/qurlinternal
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2020-05-11 15:49:19 +0200
committerMarc Mutz <marc.mutz@kdab.com>2020-05-13 08:04:40 +0200
commitb49314af1d4125205611f6037539f4c8f372b909 (patch)
tree6741111fbdb87872abd3f6868a3a2cb33ef38d7b /tests/auto/corelib/io/qurlinternal
parent554ef6c39ca3863049de4988fe33f327e72dbe7e (diff)
Port qt_check_std3rules() to QStringView
Also port its callees. These functions scream to the QStringView-ified... Change-Id: I13c95d65941eb8d02223306d80efd1437b4bd9b7 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'tests/auto/corelib/io/qurlinternal')
-rw-r--r--tests/auto/corelib/io/qurlinternal/tst_qurlinternal.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/corelib/io/qurlinternal/tst_qurlinternal.cpp b/tests/auto/corelib/io/qurlinternal/tst_qurlinternal.cpp
index b38467af8d..edee5e5723 100644
--- a/tests/auto/corelib/io/qurlinternal/tst_qurlinternal.cpp
+++ b/tests/auto/corelib/io/qurlinternal/tst_qurlinternal.cpp
@@ -755,7 +755,7 @@ void tst_QUrlInternal::std3violations()
{
QString prepped = source;
qt_nameprep(&prepped, 0);
- QVERIFY(!qt_check_std3rules(prepped.constData(), prepped.length()));
+ QVERIFY(!qt_check_std3rules(prepped));
}
#endif