1 | #include <gtest/gtest.h> |
---|---|
2 | |
3 | #include <base/system.h> |
4 | #include <game/version.h> |
5 | |
6 | TEST(GitRevision, ExistsOrNull) |
7 | { |
8 | if(GIT_SHORTREV_HASH) |
9 | { |
10 | EXPECT_STRNE(GIT_SHORTREV_HASH, ""); |
11 | } |
12 | } |
13 |
1 | #include <gtest/gtest.h> |
---|---|
2 | |
3 | #include <base/system.h> |
4 | #include <game/version.h> |
5 | |
6 | TEST(GitRevision, ExistsOrNull) |
7 | { |
8 | if(GIT_SHORTREV_HASH) |
9 | { |
10 | EXPECT_STRNE(GIT_SHORTREV_HASH, ""); |
11 | } |
12 | } |
13 |