Skip to content

Commit

Permalink
ICU-22954 disable TestCharStrAppendNumber on Cygwin
Browse files Browse the repository at this point in the history
  • Loading branch information
markusicu committed Dec 23, 2024
1 parent cb91088 commit b6f201a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions icu4c/source/test/intltest/strtest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -846,6 +846,8 @@ StringTest::TestCStr() {
}

void StringTest::TestCharStrAppendNumber() {
// Crashes on Cygwin since ICU-22954 PR #3295, see ICU-22999.
#if U_PLATFORM != U_PF_CYGWIN
IcuTestErrorCode errorCode(*this, "TestCharStrAppendNumber()");

CharString testString;
Expand Down Expand Up @@ -873,6 +875,7 @@ void StringTest::TestCharStrAppendNumber() {
testString.clear();
testString.appendNumber(0, errorCode);
assertEquals("TestAppendNumber when appending zero", "0", testString.data());
#endif
}

void
Expand Down

0 comments on commit b6f201a

Please sign in to comment.