mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-27 04:20:06 +00:00
Fix FormatTest.StrError on Solaris
This commit is contained in:
parent
2711cb1672
commit
c2e84ee9cc
@ -192,7 +192,7 @@ TEST(FormatTest, StrError) {
|
||||
EXPECT_EQ(get_system_error(error_code), message);
|
||||
|
||||
// safe_strerror never uses buffer on MinGW.
|
||||
#ifndef __MINGW32__
|
||||
#if !defined(__MINGW32__) && !defined(__sun)
|
||||
result =
|
||||
fmt::internal::safe_strerror(error_code, message = buffer, message_size);
|
||||
EXPECT_EQ(ERANGE, result);
|
||||
|
Loading…
Reference in New Issue
Block a user