diff options
Diffstat (limited to 'tests/auto/corelib/text/qstringbuilder')
-rw-r--r-- | tests/auto/corelib/text/qstringbuilder/qstringbuilder1/stringbuilder.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/corelib/text/qstringbuilder/qstringbuilder1/stringbuilder.cpp b/tests/auto/corelib/text/qstringbuilder/qstringbuilder1/stringbuilder.cpp index de5277ab44..65157e6be5 100644 --- a/tests/auto/corelib/text/qstringbuilder/qstringbuilder1/stringbuilder.cpp +++ b/tests/auto/corelib/text/qstringbuilder/qstringbuilder1/stringbuilder.cpp @@ -386,6 +386,8 @@ void runScenario() byteArray.reserve(70); byteArray.insert(0, "multipart/"); byteArray.insert(byteArray.size(), "mixed"); + QEXPECT_FAIL("", "there's no freeSpaceAtBegin()?!", Continue); + QVERIFY(byteArray.data_ptr().freeSpaceAtBegin() > 0); byteArray += "; boundary=\"" P QByteArray(30, 'o') P '"'; QCOMPARE(byteArray, "multipart/mixed; boundary=\"oooooooooooooooooooooooooooooo\""); } |