Commit daca48cb authored by Victor Zverovich's avatar Victor Zverovich

Fix MSVC build

parent cabe5bdd
......@@ -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());
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment