ddnet/src/test/git_revision.cpp

13 lines
182 B
C++
Raw Normal View History

#include <gtest/gtest.h>
#include <base/system.h>
#include <game/version.h>
TEST(GitRevision, ExistsOrNull)
{
if(GIT_SHORTREV_HASH)
{
ASSERT_STRNE(GIT_SHORTREV_HASH, "");
}
}