Fix MSVC build

This commit is contained in:
Victor Zverovich committed 2014-10-30 12:20:08 -07:00
1 parent cabe5bddb4
commit daca48cb15
1 file changed
+1 -1
+1 -1
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());
}