Skip to content

Commit

Permalink
Fix test.
Browse files Browse the repository at this point in the history
  • Loading branch information
1uc committed Jul 29, 2024
1 parent 73d813f commit 71c36fa
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/unit/tests_high_five_base.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2518,6 +2518,12 @@ TEST_CASE("Version Numbers") {
std::to_string(patch);

CHECK(version == expected);

#if defined(HIGHFIVE_VERSION_PRERELEASE)
int prerelease = HIGHFIVE_VERSION_PRERELEASE;
expected += "-beta" + std::to_string(prerelease);
#endif

CHECK(HIGHFIVE_VERSION_STRING == expected);
}

Expand Down

0 comments on commit 71c36fa

Please sign in to comment.