mirror of
https://github.com/LizardByte/Sunshine.git
synced 2026-08-07 18:36:34 +00:00
09dc9e4c35
Co-authored-by: Kishi <41839133+Kishi85@users.noreply.github.com>
14 lines
375 B
C++
14 lines
375 B
C++
/**
|
|
* @file tests/unit/platform/test_common.cpp
|
|
* @brief Test src/platform/common.*.
|
|
*/
|
|
#include "../../tests_common.h"
|
|
|
|
#include <boost/asio/ip/host_name.hpp>
|
|
#include <src/platform/common.h>
|
|
|
|
TEST(HostnameTests, TestAsioEquality) {
|
|
// These should be equivalent on all platforms for ASCII hostnames
|
|
ASSERT_EQ(platf::get_host_name(), boost::asio::ip::host_name());
|
|
}
|