Skip to content

Commit

Permalink
Clang-format
Browse files Browse the repository at this point in the history
Signed-off-by: Vladimír Štill <[email protected]>
  • Loading branch information
vlstill committed Jan 2, 2025
1 parent b1744d2 commit 11326ac
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions test/gtest/indexed_vector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -96,14 +96,15 @@ TEST(IndexedVector, Vector_ctor) {
}

TEST(IndexedVector, erase) {
TestVector vec(Vector<StructField>{testItem("a"_cs),
testItem("b"_cs),
testItem("c"_cs),
testItem("d"_cs),
testItem("e"_cs),
testItem("f"_cs),
testItem("g"_cs),
});
TestVector vec(Vector<StructField>{
testItem("a"_cs),
testItem("b"_cs),
testItem("c"_cs),
testItem("d"_cs),
testItem("e"_cs),
testItem("f"_cs),
testItem("g"_cs),
});
EXPECT_EQ(vec.size(), 7);
vec.erase(std::next(vec.begin(), 1)); // a c d e f g
EXPECT_EQ(vec.size(), 6);
Expand Down

0 comments on commit 11326ac

Please sign in to comment.