Skip to content

Commit

Permalink
ICU-22668 Copy-paste updated test code from abandoned PR #3103.
Browse files Browse the repository at this point in the history
  • Loading branch information
roubert committed Sep 20, 2024
1 parent 7ea9687 commit 89060a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion icu4c/source/test/cintltst/udatpg_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -875,7 +875,7 @@ static void TestISO8601(void) {
udatpg_getBestPatternWithOptions(dtpg, testCases[i].skeleton, -1, 0, actualPattern, UPRV_LENGTHOF(actualPattern), &err);
if (assertSuccess("Error getting best pattern", &err)) {
char errorMessage[200];
snprintf(errorMessage, 200, "Wrong pattern for %s and %s", testCases[i].locale, austrdup(testCases[i].skeleton));
snprintf(errorMessage, UPRV_LENGTHOF(errorMessage), "Wrong pattern for %s and %s", testCases[i].locale, austrdup(testCases[i].skeleton));
assertUEquals(errorMessage, testCases[i].expectedPattern, actualPattern);
}
}
Expand Down

0 comments on commit 89060a0

Please sign in to comment.