Details
-
Task
-
Resolution: Fixed
-
P2: Important
-
None
-
None
-
5
-
5fc1e9fa0 (dev), c653cf117 (6.9), 7637203f8 (6.8), 0c9786989 (tqtc/lts-6.5), 57d91d802 (dev), eeefa8c27 (dev)
-
Foundation Sprint 126, Foundation Sprint 127
Description
The following succeeds for String == QString, but fails for String == QByteArray:
{ String h, n, rep = "a", res = rep; h.replace(n, rep); QCOMPARE(h, res); } { String h, n = "", rep = "a", res = rep; h.replace(n, rep); QCOMPARE(h, res); }
Expected behaviour: QByteArray is consistent with QString (and tokenize()/split() + join() for that matter).