mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-19 20:18:49 +00:00
Fix util-test
This commit is contained in:
parent
5a5870d3ca
commit
cabe5bddb4
@ -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());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user