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  <[EMAIL PROTECTED]>

        * 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;
         }
 


Reply via email to