Fix MSVC build

This commit is contained in:
Victor Zverovich 2014-10-30 12:20:08 -07:00
parent cabe5bddb4
commit daca48cb15

View File

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