Skip to content

Commit

Permalink
Disable wstring unit test on ICPC
Browse files Browse the repository at this point in the history
Fixes:
  error nlohmann#913: invalid multibyte character sequence
  • Loading branch information
falbrechtskirchinger committed May 1, 2022
1 parent 6d84dac commit 3c12420
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/src/unit-wstring.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ SOFTWARE.
#include <nlohmann/json.hpp>
using nlohmann::json;

// ICPC errors out on multibyte character sequences in source files
#ifndef __INTEL_COMPILER
namespace
{
bool wstring_is_utf16();
Expand Down Expand Up @@ -115,3 +117,4 @@ TEST_CASE("wide strings")
}
}
}
#endif

0 comments on commit 3c12420

Please sign in to comment.