Fix bug in test; thanks to AddressSanitizer for the heads-up

[SVN r83493]
This commit is contained in:
Marshall Clow committed 2013-03-18 20:46:53 +00:00
1 parent 2e4007413e
commit 9cb31aee6e
1 file changed
+1 -1
+1 -1
View File
@@ -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;
}