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