mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-21 12:40:02 +00:00
ICU-10354 Adding infinite loop check to test.
X-SVN-Rev: 41357
This commit is contained in:
parent
641c8a1cba
commit
8db1bee493
1 changed files with 4 additions and 0 deletions
|
@ -9325,6 +9325,10 @@ void NumberFormatTest::Test10354() {
|
|||
FieldPositionIterator positions;
|
||||
df.format(NAN, result, &positions, errorCode);
|
||||
errorCode.logIfFailureAndReset("DecimalFormat.format(NAN, FieldPositionIterator) failed");
|
||||
FieldPosition fp;
|
||||
while (positions.next(fp)) {
|
||||
// Should not loop forever
|
||||
}
|
||||
}
|
||||
|
||||
void NumberFormatTest::Test11645_ApplyPatternEquality() {
|
||||
|
|
Loading…
Add table
Reference in a new issue