From 0d605befd4c053bff3cdfbf071fc4dd602cb0599 Mon Sep 17 00:00:00 2001 From: Marshall Clow Date: Thu, 23 May 2013 18:38:20 +0000 Subject: [PATCH] Merge bug fix in test to release [SVN r84449] --- test/string_ref_test2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/string_ref_test2.cpp b/test/string_ref_test2.cpp index 89e1cfc..174405d 100644 --- a/test/string_ref_test2.cpp +++ b/test/string_ref_test2.cpp @@ -23,7 +23,7 @@ void ends_with ( const char *arg ) { string_ref sr2 ( arg ); const char *p = arg; - while ( !*p ) { + while ( *p ) { BOOST_CHECK ( sr.ends_with ( p )); ++p; }