stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From far...@apache.org
Subject svn commit: r596326 - /incubator/stdcxx/branches/4.2.x/tests/localization/22.locale.ctype.cpp
Date Mon, 19 Nov 2007 15:27:06 GMT
Author: faridz
Date: Mon Nov 19 07:27:05 2007
New Revision: 596326

URL: http://svn.apache.org/viewvc?rev=596326&view=rev
Log:
2007-11-19 Farid Zaripov <farid_zaripov@epam.com>

	* 22.locale.ctype.cpp (test_libstd_toupper_tolower): Added braces
	around multiline TEST macro.
	(test_libstd_mask): Corrected '\xa0' value to '\xa2'.

Modified:
    incubator/stdcxx/branches/4.2.x/tests/localization/22.locale.ctype.cpp

Modified: incubator/stdcxx/branches/4.2.x/tests/localization/22.locale.ctype.cpp
URL: http://svn.apache.org/viewvc/incubator/stdcxx/branches/4.2.x/tests/localization/22.locale.ctype.cpp?rev=596326&r1=596325&r2=596326&view=diff
==============================================================================
--- incubator/stdcxx/branches/4.2.x/tests/localization/22.locale.ctype.cpp (original)
+++ incubator/stdcxx/branches/4.2.x/tests/localization/22.locale.ctype.cpp Mon Nov 19 07:27:05
2007
@@ -1503,8 +1503,9 @@
     TEST ('b', 'B');
     TEST ('c', 'C');
 
-    if (sizeof(charT) > 1)
+    if (sizeof(charT) > 1) {
         TEST ('\xa0', '\xa1');
+    }
 
 #undef TEST
 }
@@ -1606,7 +1607,7 @@
         TEST (ct.widen ('\xa2'), DIGIT);
         TEST (ct.widen ('\xa2'), GRAPH);
         TEST (ct.widen ('\xa2'), PRINT);
-        TEST (ct.widen ('\xa0'), DIGIT | GRAPH | PRINT);
+        TEST (ct.widen ('\xa2'), DIGIT | GRAPH | PRINT);
     }
 }
 



Mime
View raw message