ddnet/src/test/os.cpp

12 lines
204 B
C++
Raw Normal View History

2022-01-27 01:35:08 +00:00
#include "test.h"
#include <gtest/gtest.h>
#include <base/system.h>
TEST(Os, VersionStr)
{
char aVersion[128];
EXPECT_FALSE(os_version_str(aVersion, sizeof(aVersion)));
EXPECT_STRNE(aVersion, "");
}