Tests/StackVector: Disable max_size() check when using std::vector
This commit is contained in:
parent
4e6eda40fb
commit
aee9a38f76
|
|
@ -115,7 +115,9 @@ SCENARIO("StackVector", "[CORE][STACKVECTOR]")
|
||||||
CHECK(vector.capacity() == capacity);
|
CHECK(vector.capacity() == capacity);
|
||||||
CHECK(vector.empty());
|
CHECK(vector.empty());
|
||||||
CHECK(vector.size() == 0);
|
CHECK(vector.size() == 0);
|
||||||
|
#if !USE_STD_VECTOR
|
||||||
CHECK(vector.max_size() == capacity);
|
CHECK(vector.max_size() == capacity);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
WHEN("Resizing it changes its size and create/destroy elements")
|
WHEN("Resizing it changes its size and create/destroy elements")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue