mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-17 11:12:25 +01:00
Fix test
This commit is contained in:
parent
15317632f3
commit
4d123dbf90
@ -51,7 +51,7 @@ SCENARIO( "Vector resizing affects size and capacity", "[vector][bdd][size][capa
|
|||||||
v.reserve( 10 );
|
v.reserve( 10 );
|
||||||
THEN( "The capacity is increased but the size remains the same" ) {
|
THEN( "The capacity is increased but the size remains the same" ) {
|
||||||
REQUIRE( v.capacity() >= 10 );
|
REQUIRE( v.capacity() >= 10 );
|
||||||
REQUIRE( v.size() == 0 );
|
REQUIRE( v.size() == 5 );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user