| Index: source/test/intltest/sdtfmtts.cpp
|
| diff --git a/source/test/intltest/sdtfmtts.cpp b/source/test/intltest/sdtfmtts.cpp
|
| index ce043b21d58025dbd1f6bc38b8747aa17d02636d..546b43ccac9f4ad475346bb9f4230100f4fb5635 100644
|
| --- a/source/test/intltest/sdtfmtts.cpp
|
| +++ b/source/test/intltest/sdtfmtts.cpp
|
| @@ -1,7 +1,7 @@
|
|
|
| /********************************************************************
|
| * COPYRIGHT:
|
| - * Copyright (c) 1997-2012, International Business Machines Corporation and
|
| + * Copyright (c) 1997-2014, International Business Machines Corporation and
|
| * others. All Rights Reserved.
|
| ********************************************************************/
|
|
|
| @@ -269,6 +269,12 @@ void IntlTestSimpleDateFormatAPI::testAPI(/*char *par*/)
|
| if ((double)udDate == 0.0) {
|
| errln("ERROR: Parsing failed using 'Y' and 'e'");
|
| }
|
| +
|
| +// ====== Test ticket 11295 getNumberFormatForField returns wild pointer
|
| + if (object.getNumberFormatForField('B') != NULL) {
|
| + errln("B is not a valid field, "
|
| + "getNumberFormatForField should return NULL");
|
| + }
|
| }
|
|
|
| #endif /* #if !UCONFIG_NO_FORMATTING */
|
|
|