mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2024-12-27 08:22:31 +00:00
be7ce4110e
This reverts commit e96515433d
.
24 lines
436 B
C++
24 lines
436 B
C++
#include <pqxx/connection>
|
|
|
|
#include "test_helpers.hxx"
|
|
|
|
// Test program for libpqxx. Test adorn_name.
|
|
|
|
namespace
|
|
{
|
|
void test_090()
|
|
{
|
|
pqxx::connection conn;
|
|
|
|
// Test connection's adorn_name() function for uniqueness
|
|
std::string const nametest{"basename"};
|
|
|
|
PQXX_CHECK_NOT_EQUAL(
|
|
conn.adorn_name(nametest), conn.adorn_name(nametest),
|
|
"\"Unique\" names are not unique.");
|
|
}
|
|
} // namespace
|
|
|
|
|
|
PQXX_REGISTER_TEST(test_090);
|