mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-27 03:21:34 +00:00
Fix MSVC build
This commit is contained in:
parent
cabe5bddb4
commit
daca48cb15
@ -700,7 +700,7 @@ void test_count_digits() {
|
|||||||
|
|
||||||
TEST(UtilTest, StringRef) {
|
TEST(UtilTest, StringRef) {
|
||||||
char space[100];
|
char space[100];
|
||||||
snprintf(space, sizeof(space), "some string");
|
std::strcpy(space, "some string");
|
||||||
EXPECT_EQ(sizeof("some string") - 1, StringRef(space).size());
|
EXPECT_EQ(sizeof("some string") - 1, StringRef(space).size());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user