You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stdcxx.apache.org by fa...@apache.org on 2007/09/04 18:36:46 UTC

svn commit: r572732 - /incubator/stdcxx/trunk/tests/localization/22.locale.messages.cpp

Author: faridz
Date: Tue Sep  4 09:36:45 2007
New Revision: 572732

URL: http://svn.apache.org/viewvc?rev=572732&view=rev
Log:
2007-09-04 Farid Zaripov <Fa...@epam.com>

	* 22.locale.messages.cpp (test_get): Corrected condition in "for" loop
	to test all messages.

Modified:
    incubator/stdcxx/trunk/tests/localization/22.locale.messages.cpp

Modified: incubator/stdcxx/trunk/tests/localization/22.locale.messages.cpp
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/tests/localization/22.locale.messages.cpp?rev=572732&r1=572731&r2=572732&view=diff
==============================================================================
--- incubator/stdcxx/trunk/tests/localization/22.locale.messages.cpp (original)
+++ incubator/stdcxx/trunk/tests/localization/22.locale.messages.cpp Tue Sep  4 09:36:45 2007
@@ -590,9 +590,9 @@
     typedef std::allocator<charT>                       Allocator;
     typedef std::basic_string<charT, Traits, Allocator> String;
 
-    for (int setId = 1; setId < MAX_SETS; ++setId) {
+    for (int setId = 1; setId <= MAX_SETS; ++setId) {
 
-        for (int msgId = 1; msgId < MAX_MESSAGES; ++msgId) {
+        for (int msgId = 1; msgId <= MAX_MESSAGES; ++msgId) {
 
             const int id = msg_id (setId, msgId);
             const String got = msgs.get (cat, setId, id, def);