diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2022-10-05 13:27:22 +0200 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2022-10-11 11:24:39 +0200 |
commit | 3af2747c46decc1dd5abd7d82270854a839b92ef (patch) | |
tree | 21ece97043cf12ce6e7dbefbf26ca6a46d78771e /tests | |
parent | 167da771f6833809074820908200d0d1e533ecae (diff) |
tst_QString::number_base(): distinguish negative binary test-cases
Two test cases were called "base 2, negative"; one of them use -1 as
value, so s/negative/minus 1/ for it.
Change-Id: Ia5da3952d93976262cc8423d4e75ec19dab9a088
Reviewed-by: Mate Barany <mate.barany@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/corelib/text/qstring/tst_qstring.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/corelib/text/qstring/tst_qstring.cpp b/tests/auto/corelib/text/qstring/tst_qstring.cpp index d27a1475be..a1e8342cd1 100644 --- a/tests/auto/corelib/text/qstring/tst_qstring.cpp +++ b/tests/auto/corelib/text/qstring/tst_qstring.cpp @@ -5412,7 +5412,7 @@ void tst_QString::number_base_data() QTest::newRow("base 17, negative") << -12346LL << 17 << QString("-28c4"); QTest::newRow("base 36, negative") << -2181789482LL << 36 << QString("-102zbje"); - QTest::newRow("base 2, negative") << -1LL << 2 << QString("-1"); + QTest::newRow("base 2, minus 1") << -1LL << 2 << QString("-1"); QTest::newRow("largeint, base 10, positive") << 123456789012LL << 10 << QString("123456789012"); |