Imported Upstream version 58.1
[platform/upstream/icu.git] / source / test / intltest / tchcfmt.cpp
index 62c10de..9f51991 100644 (file)
@@ -1,3 +1,5 @@
+// Copyright (C) 2016 and later: Unicode, Inc. and others.
+// License & terms of use: http://www.unicode.org/copyright.html
 /********************************************************************
  * COPYRIGHT: 
  * Copyright (c) 1997-2016, International Business Machines Corporation and
@@ -48,7 +50,7 @@ TestChoiceFormat::TestSimpleExample( void )
     UnicodeString str;
     UnicodeString res1, res2;
     UErrorCode status;
-    FieldPosition fpos(0);
+    FieldPosition fpos(FieldPosition::DONT_CARE);
     Formattable f;
     int32_t ix;
     //for (double i = 0.0; i <= 8.0; ++i) {
@@ -180,7 +182,7 @@ TestChoiceFormat::TestComplexExample( void )
         it_errln("***  ChoiceFormat to Pattern result!");
     }
 
-    FieldPosition fpos(0);
+    FieldPosition fpos(FieldPosition::DONT_CARE);
 
     UnicodeString checkstr[] = { 
         "There are corrupted files on Disk_A",