diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2022-10-05 12:25:58 +0200 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2022-10-11 11:24:01 +0200 |
commit | 042702d9612e274f55950451033f75533e83e104 (patch) | |
tree | 4897748a1f255f648f88db9daefc5eec3d53d46c /tests/auto/corelib/text/qbytearrayapisymmetry/tst_qbytearrayapisymmetry.cpp | |
parent | cc204f96c9ed1582486b30c4c331f49577504b02 (diff) |
tst_QBAApiSymmetry::toInt_data(): deduplicate a data-row name
One "empty" test was base ten, the other left the code to work out the
base. Change the latter's name to reflect that difference.
Change-Id: I4918eb0d293420df315d86e532787950b8f05be8
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
Diffstat (limited to 'tests/auto/corelib/text/qbytearrayapisymmetry/tst_qbytearrayapisymmetry.cpp')
-rw-r--r-- | tests/auto/corelib/text/qbytearrayapisymmetry/tst_qbytearrayapisymmetry.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/corelib/text/qbytearrayapisymmetry/tst_qbytearrayapisymmetry.cpp b/tests/auto/corelib/text/qbytearrayapisymmetry/tst_qbytearrayapisymmetry.cpp index de58b4f888..514314d0f3 100644 --- a/tests/auto/corelib/text/qbytearrayapisymmetry/tst_qbytearrayapisymmetry.cpp +++ b/tests/auto/corelib/text/qbytearrayapisymmetry/tst_qbytearrayapisymmetry.cpp @@ -1062,7 +1062,7 @@ void tst_QByteArrayApiSymmetry::toInt_data() const QTest::newRow("base 0-1") << QByteArray("0x10") << 0 << 16 << true; QTest::newRow("base 0-2") << QByteArray("10") << 0 << 10 << true; QTest::newRow("base 0-3") << QByteArray("010") << 0 << 8 << true; - QTest::newRow("empty") << QByteArray() << 0 << 0 << false; + QTest::newRow("base 0 empty") << QByteArray() << 0 << 0 << false; QTest::newRow("leading space") << QByteArray(" 100") << 10 << 100 << true; QTest::newRow("trailing space") << QByteArray("100 ") << 10 << 100 << true; |