summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2023-05-05 23:07:34 -0700
committerMarc Mutz <marc.mutz@qt.io>2023-05-12 20:54:13 +0000
commit3cc39197f816ac7a84b5211df23e553309fe44c0 (patch)
tree5582254e810d5e8413be5cd44f7865ac0625710a
parentf71eb4a6426fe7174d28f733c79142b595c21808 (diff)
tst_QAnyStringView: fix warning of unused variable by using it
Pick-to: 6.5 6.2 Change-Id: Ieab617d69f3b4b54ab30fffd175c78ddb5fb919d Reviewed-by: Marc Mutz <marc.mutz@qt.io>
-rw-r--r--tests/auto/corelib/text/qanystringview/tst_qanystringview.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/auto/corelib/text/qanystringview/tst_qanystringview.cpp b/tests/auto/corelib/text/qanystringview/tst_qanystringview.cpp
index 591c82ab8d..d5a62887e1 100644
--- a/tests/auto/corelib/text/qanystringview/tst_qanystringview.cpp
+++ b/tests/auto/corelib/text/qanystringview/tst_qanystringview.cpp
@@ -684,7 +684,9 @@ void tst_QAnyStringView::compare3way()
const QAnyStringView bb = u"bb";
COMPARE_3WAY(aa, aa, std::strong_ordering::equal);
COMPARE_3WAY(aa, bb, std::strong_ordering::less);
- COMPARE_3WAY(bb, aa, std::strong_ordering::greater)
+ COMPARE_3WAY(bb, aa, std::strong_ordering::greater);
+ COMPARE_3WAY(upperAa, aa, std::strong_ordering::less);
+ COMPARE_3WAY(aa, upperAa, std::strong_ordering::greater);
);
#undef COMPARE_3WAY
}