Fix util-test

This commit is contained in:
Victor Zverovich 2014-10-30 08:07:28 -07:00
parent 5a5870d3ca
commit cabe5bddb4

View File

@ -699,7 +699,7 @@ void test_count_digits() {
}
TEST(UtilTest, StringRef) {
char space[PATH_MAX];
char space[100];
snprintf(space, sizeof(space), "some string");
EXPECT_EQ(sizeof("some string") - 1, StringRef(space).size());
}