Skip to content

Commit

Permalink
Fix FormatTest.StrError on Solaris
Browse files Browse the repository at this point in the history
  • Loading branch information
vedranmiletic authored and vitaut committed Jul 3, 2019
1 parent 2711cb1 commit c2e84ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/format-impl-test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit c2e84ee

Please sign in to comment.