From 4d123dbf90bac3642015626a9e20ef8d000db415 Mon Sep 17 00:00:00 2001 From: Pietro Cerutti Date: Fri, 2 Oct 2015 18:08:52 +0000 Subject: [PATCH] Fix test --- projects/SelfTest/BDDTests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/SelfTest/BDDTests.cpp b/projects/SelfTest/BDDTests.cpp index 3b5c959d..92b122fc 100644 --- a/projects/SelfTest/BDDTests.cpp +++ b/projects/SelfTest/BDDTests.cpp @@ -51,7 +51,7 @@ SCENARIO( "Vector resizing affects size and capacity", "[vector][bdd][size][capa v.reserve( 10 ); THEN( "The capacity is increased but the size remains the same" ) { REQUIRE( v.capacity() >= 10 ); - REQUIRE( v.size() == 0 ); + REQUIRE( v.size() == 5 ); } } }