Skip to content

Test to ascii #206

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 8, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Allow test_toAscii to compile under C++20
  • Loading branch information
jboynes authored and aentinger committed Sep 8, 2023
commit 1e6d3f17f3aea63ccfd970cd5ab1b334eda27315
4 changes: 1 addition & 3 deletions test/src/WCharacter/test_toAscii.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
* INCLUDE
**************************************************************************************/

#undef _GNU_SOURCE

#include <catch.hpp>

#include <vector>
Expand Down Expand Up @@ -47,4 +45,4 @@ TEST_CASE ("toAscii(...) is called with a invalid casted ascii character", "[toA
TEST_CASE ("toAscii(...) is called with a character larger than 1 byte", "[toAscii-04]")
{
REQUIRE(arduino::toAscii(0x3030) == 0x30);
}
}