summaryrefslogtreecommitdiffstats
path: root/tests/auto/qurl/tst_qurl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qurl/tst_qurl.cpp')
-rw-r--r--tests/auto/qurl/tst_qurl.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/qurl/tst_qurl.cpp b/tests/auto/qurl/tst_qurl.cpp
index 78ea146..d487908 100644
--- a/tests/auto/qurl/tst_qurl.cpp
+++ b/tests/auto/qurl/tst_qurl.cpp
@@ -3212,11 +3212,13 @@ void tst_QUrl::std3violations()
{
QFETCH(QString, source);
+#ifdef QT_BUILD_INTERNAL
{
QString prepped = source;
qt_nameprep(&prepped, 0);
QVERIFY(!qt_check_std3rules(prepped.constData(), prepped.length()));
}
+#endif
if (source.contains('.'))
return; // this test ends here