Commit cabe5bdd authored by Victor Zverovich's avatar Victor Zverovich

Fix util-test

parent 5a5870d3
......@@ -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());
}
......
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