Skip to content

Commit e0ff597

Browse files
committed
adopt suggestion
1 parent 451f0c5 commit e0ff597

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/beman/inplace_vector/constructors.test.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#include <algorithm>
12
#include <gtest/gtest.h>
23
#include <numeric>
34

@@ -82,7 +83,7 @@ TYPED_TEST(Constructors, SizedValue) {
8283
for (auto i = 0uz; i < device.size(); ++i)
8384
correct.push_back(value);
8485

85-
EXPECT_EQ(device, correct);
86+
EXPECT_EQ(std::count(device.begin(), device.end(), value), IV::capacity());
8687
}
8788
}
8889

0 commit comments

Comments
 (0)