From bf9a8f8d7ccd030e80403451f0251740940649e8 Mon Sep 17 00:00:00 2001 From: Julien Boeuf <jboeuf@google.com> Date: Tue, 25 Aug 2015 07:45:35 -0700 Subject: [PATCH] Fixing tests. --- test/cpp/util/string_ref_test.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/cpp/util/string_ref_test.cc b/test/cpp/util/string_ref_test.cc index b6ec9f3eec..5264682e5d 100644 --- a/test/cpp/util/string_ref_test.cc +++ b/test/cpp/util/string_ref_test.cc @@ -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) { -- GitLab