From 7d5da66db95109d188f1db321c683dad1069eabc Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Tue, 17 Jun 2014 06:54:08 -0700 Subject: [PATCH] Clean --- test/format-test.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/format-test.cc b/test/format-test.cc index 28b62112..d8c118e1 100644 --- a/test/format-test.cc +++ b/test/format-test.cc @@ -257,7 +257,7 @@ TEST(ArrayTest, Append) { Array array; const char *test = "test"; array.append(test, test + 5); - EXPECT_STREQ("test", &array[0]); + EXPECT_STREQ(test, &array[0]); EXPECT_EQ(5u, array.size()); array.resize(10); array.append(test, test + 2); @@ -272,7 +272,7 @@ TEST(ArrayTest, AppendAllocatesEnoughStorage) { const char *test = "abcdefgh"; array.resize(10); array.append(test, test + 9); - EXPECT_STREQ("test", &array[10]); + EXPECT_STREQ(test, &array[10]); EXPECT_EQ(19u, array.size()); EXPECT_EQ(19u, array.capacity()); }