Skip to content

Commit 2b3a745

Browse files
authored
Fix typo.
1 parent 8aecb6a commit 2b3a745

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

STL_examples.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ TEST(any_of, ExampleTwoEmptySet) {
2929
const std::vector<int> numbers;
3030
const bool equals_four = std::any_of(numbers.cbegin(), numbers.cend(), [](int i)->int{ return i == 4; });
3131
EXPECT_FALSE(equals_four);
32-
const bool equals_zero = std::any_of(numbers.cbegin(), numbers.cend(), [](int i)->int{ return i == 10; });
32+
const bool equals_zero = std::any_of(numbers.cbegin(), numbers.cend(), [](int i)->int{ return i == 0; });
3333
EXPECT_FALSE(equals_zero);
3434
}
3535

0 commit comments

Comments
 (0)