Return-Path: Delivered-To: apmail-stdcxx-commits-archive@www.apache.org Received: (qmail 33204 invoked from network); 29 Feb 2008 20:55:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Feb 2008 20:55:13 -0000 Received: (qmail 46904 invoked by uid 500); 29 Feb 2008 20:55:08 -0000 Delivered-To: apmail-stdcxx-commits-archive@stdcxx.apache.org Received: (qmail 46887 invoked by uid 500); 29 Feb 2008 20:55:08 -0000 Mailing-List: contact commits-help@stdcxx.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@stdcxx.apache.org Delivered-To: mailing list commits@stdcxx.apache.org Received: (qmail 46878 invoked by uid 99); 29 Feb 2008 20:55:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Feb 2008 12:55:08 -0800 X-ASF-Spam-Status: No, hits=-2000.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; Fri, 29 Feb 2008 20:54:42 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 82E5E1A983A; Fri, 29 Feb 2008 12:54:52 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r632436 - /stdcxx/trunk/tests/strings/21.string.access.cpp Date: Fri, 29 Feb 2008 20:54:51 -0000 To: commits@stdcxx.apache.org From: vitek@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080229205452.82E5E1A983A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: vitek Date: Fri Feb 29 12:54:50 2008 New Revision: 632436 URL: http://svn.apache.org/viewvc?rev=632436&view=rev Log: 2008-02-29 Travis Vitek * tests/strings/21.string.access.cpp (test_access): Revert previous change. Modified: stdcxx/trunk/tests/strings/21.string.access.cpp Modified: stdcxx/trunk/tests/strings/21.string.access.cpp URL: http://svn.apache.org/viewvc/stdcxx/trunk/tests/strings/21.string.access.cpp?rev=632436&r1=632435&r2=632436&view=diff ============================================================================== --- stdcxx/trunk/tests/strings/21.string.access.cpp (original) +++ stdcxx/trunk/tests/strings/21.string.access.cpp Fri Feb 29 12:54:50 2008 @@ -271,9 +271,7 @@ char () }; - const size_t n = NPOS != tcase.nres ? 1 : 0; - - const bool success = n == rw_match (exp_res, pres, n); + const bool success = 1 == rw_match (exp_res, pres, 1); rw_assert (success, 0, tcase.line, "line %d. %{$FUNCALL} == %{#c}, got %{#c}", __LINE__, tcase.nres, *pres);