testlib: use string view types more

Change-Id: I59886bca9c90cce6aa00e3cbe09a3991b6b4ce79
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
This commit is contained in:
Anton Kudryavtsev 2023-08-17 13:42:50 +03:00
parent d83aabad0f
commit b601ea7f8b

View File

@ -398,7 +398,7 @@ inline char *toString(const std::tuple<Types...> &tuple)
inline char *toString(std::nullptr_t)
{
return toString(QStringLiteral("nullptr"));
return toString(QStringView(u"nullptr"));
}
template<>