Skip to content

Commit

Permalink
Fixing tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
jboeuf committed Aug 25, 2015
1 parent 814ffd6 commit bf9a8f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/cpp/util/string_ref_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -120,13 +120,13 @@ TEST_F(StringRefTest, Capacity) {
EXPECT_EQ(0, empty.length());
EXPECT_EQ(0, empty.size());
EXPECT_EQ(0, empty.max_size());
EXPECT_EQ(true, empty.empty());
EXPECT_TRUE(empty.empty());

string_ref s(kTestString);
EXPECT_EQ(strlen(kTestString), s.length());
EXPECT_EQ(s.length(), s.size());
EXPECT_EQ(s.max_size(), s.length());
EXPECT_EQ(false, s.empty());
EXPECT_FALSE(s.empty());
}

TEST_F(StringRefTest, Compare) {
Expand Down

0 comments on commit bf9a8f8

Please sign in to comment.