Set version to 6.0.0-beta

This commit is contained in:
Benoit Blanchon
2018-06-07 10:47:00 +02:00
parent a9a730fd74
commit e86eb0cfdf
5 changed files with 12 additions and 7 deletions

View File

@ -6,11 +6,13 @@
#include <catch.hpp>
#include <sstream>
using Catch::Matchers::StartsWith;
TEST_CASE("ARDUINOJSON_VERSION") {
std::stringstream version;
version << ARDUINOJSON_VERSION_MAJOR << "." << ARDUINOJSON_VERSION_MINOR
<< "." << ARDUINOJSON_VERSION_REVISION;
REQUIRE(version.str() == ARDUINOJSON_VERSION);
REQUIRE_THAT(ARDUINOJSON_VERSION, StartsWith(version.str()));
}