mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2024-12-21 05:53:09 +00:00
be7ce4110e
This reverts commit e96515433d
.
17 lines
265 B
C++
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
|