Tests/StackVector: Disable max_size() check when using std::vector

This commit is contained in:
Lynix 2019-09-30 18:41:06 +02:00
parent 4e6eda40fb
commit aee9a38f76
1 changed files with 2 additions and 0 deletions

View File

@ -115,7 +115,9 @@ SCENARIO("StackVector", "[CORE][STACKVECTOR]")
CHECK(vector.capacity() == capacity);
CHECK(vector.empty());
CHECK(vector.size() == 0);
#if !USE_STD_VECTOR
CHECK(vector.max_size() == capacity);
#endif
}
WHEN("Resizing it changes its size and create/destroy elements")