Return-Path: Delivered-To: apmail-incubator-stdcxx-commits-archive@www.apache.org Received: (qmail 45776 invoked from network); 4 Sep 2007 16:37:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Sep 2007 16:37:07 -0000 Received: (qmail 66408 invoked by uid 500); 4 Sep 2007 16:37:02 -0000 Delivered-To: apmail-incubator-stdcxx-commits-archive@incubator.apache.org Received: (qmail 66386 invoked by uid 500); 4 Sep 2007 16:37:01 -0000 Mailing-List: contact stdcxx-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: stdcxx-dev@incubator.apache.org Delivered-To: mailing list stdcxx-commits@incubator.apache.org Received: (qmail 66375 invoked by uid 99); 4 Sep 2007 16:37:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Sep 2007 09:37:01 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Sep 2007 16:37:06 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 60BFC1A983A; Tue, 4 Sep 2007 09:36:46 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r572732 - /incubator/stdcxx/trunk/tests/localization/22.locale.messages.cpp Date: Tue, 04 Sep 2007 16:36:46 -0000 To: stdcxx-commits@incubator.apache.org From: faridz@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20070904163646.60BFC1A983A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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 * 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 Allocator; typedef std::basic_string 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);