Skip to content

Commit

Permalink
Further improve coverage of GenericPointer::Erase()
Browse files Browse the repository at this point in the history
  • Loading branch information
miloyip committed May 21, 2015
1 parent 7ddaa80 commit c8c8ad4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/unittest/pointertest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -874,6 +874,7 @@ TEST(Pointer, Erase) {

EXPECT_FALSE(Pointer("").Erase(d));
EXPECT_FALSE(Pointer("/nonexist").Erase(d));
EXPECT_FALSE(Pointer("/nonexist/nonexist").Erase(d));
EXPECT_FALSE(Pointer("/foo/nonexist").Erase(d));
EXPECT_FALSE(Pointer("/foo/nonexist/nonexist").Erase(d));
EXPECT_FALSE(Pointer("/foo/0/nonexist").Erase(d));
Expand Down

0 comments on commit c8c8ad4

Please sign in to comment.