mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-02 06:20:09 +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) {
|
||||
char space[100];
|
||||
snprintf(space, sizeof(space), "some string");
|
||||
std::strcpy(space, "some string");
|
||||
EXPECT_EQ(sizeof("some string") - 1, StringRef(space).size());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user