Make test pass on MSVC
QStringliteral+MSVC+non ascii chars doesn't play very well
diff --git a/qt5/tests/check_annotations.cpp b/qt5/tests/check_annotations.cpp
index 95a30ac..1145cee 100644
--- a/qt5/tests/check_annotations.cpp
+++ b/qt5/tests/check_annotations.cpp
@@ -152,7 +152,7 @@
QCOMPARE(annots.size(), 2);
auto annot = annots[1];
- QCOMPARE(annot->contents(), QStringLiteral("Únîcödé豰"));
+ QCOMPARE(annot->contents(), QString::fromUtf8("Únîcödé豰")); //clazy:exclude=qstring-allocations
}
QTEST_GUILESS_MAIN(TestAnnotations)