This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
zhangyang-zerotierone/ext/libpqxx-7.7.3/test/unit/test_zview.cxx
2022-06-24 10:12:36 -07:00

17 lines
265 B
C++

#include <pqxx/zview>
#include "../test_helpers.hxx"
namespace
{
void test_zview_literal()
{
using pqxx::operator"" _zv;
PQXX_CHECK_EQUAL(("foo"_zv), pqxx::zview{"foo"}, "zview literal is broken.");
}
PQXX_REGISTER_TEST(test_zview_literal);
} // namespace