Mark part of std::chrono stringification tests nonportable

This commit is contained in:
Martin Hořeňovský
2017-10-09 14:54:37 +02:00
parent 4899d891d3
commit 17cdf20968
5 changed files with 8 additions and 54 deletions

View File

@@ -30,7 +30,7 @@ TEST_CASE("Stringifying std::chrono::time_point<system_clock>", "[toString][chro
REQUIRE(now != later);
}
TEST_CASE("Stringifying std::chrono::time_point<Clock>", "[toString][chrono]") {
TEST_CASE("Stringifying std::chrono::time_point<Clock>", "[toString][chrono][!nonportable]") {
auto now = std::chrono::high_resolution_clock::now();
auto later = now + std::chrono::minutes(2);
REQUIRE(now != later);