From stdcxx-commits-return-682-apmail-incubator-stdcxx-commits-archive=incubator.apache.org@incubator.apache.org Fri May 12 22:39:53 2006 Return-Path: Delivered-To: apmail-incubator-stdcxx-commits-archive@www.apache.org Received: (qmail 31953 invoked from network); 12 May 2006 22:39:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 12 May 2006 22:39:53 -0000 Received: (qmail 71139 invoked by uid 500); 12 May 2006 22:39:52 -0000 Delivered-To: apmail-incubator-stdcxx-commits-archive@incubator.apache.org Received: (qmail 71125 invoked by uid 500); 12 May 2006 22:39:52 -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 71114 invoked by uid 99); 12 May 2006 22:39:52 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 May 2006 15:39:52 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 12 May 2006 15:39:52 -0700 Received: (qmail 31795 invoked by uid 65534); 12 May 2006 22:39:31 -0000 Message-ID: <20060512223931.31794.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r405911 - /incubator/stdcxx/trunk/tests/strings/21.string.substr.cpp Date: Fri, 12 May 2006 22:39:31 -0000 To: stdcxx-commits@incubator.apache.org From: sebor@apache.org X-Mailer: svnmailer-1.0.8 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: sebor Date: Fri May 12 15:39:30 2006 New Revision: 405911 URL: http://svn.apache.org/viewcvs?rev=405911&view=rev Log: 2006-05-12 Martin Sebor * 21.string.substr.cpp (test_substr): Inverted the expression in an unconditional assertion to make it actually fire when it gets hit and to silence icc warnings #279: controlling expression is constant. Modified: incubator/stdcxx/trunk/tests/strings/21.string.substr.cpp Modified: incubator/stdcxx/trunk/tests/strings/21.string.substr.cpp URL: http://svn.apache.org/viewcvs/incubator/stdcxx/trunk/tests/strings/21.string.substr.cpp?rev=405911&r1=405910&r2=405911&view=diff ============================================================================== --- incubator/stdcxx/trunk/tests/strings/21.string.substr.cpp (original) +++ incubator/stdcxx/trunk/tests/strings/21.string.substr.cpp Fri May 12 15:39:30 2006 @@ -253,7 +253,7 @@ break; default: - RW_ASSERT ("test logic error: unknown substr overload"); + RW_ASSERT (!"logic error: unknown substr overload"); return; }