Removed dead files.

Changed some asserts to BOOST_ASSERT.
Disabled collation in one test (locale dependent behaviour fails on some platforms).


[SVN r26722]
This commit is contained in:
John Maddock
2005-01-18 12:51:26 +00:00
parent c8c4c1c289
commit 9781fe3150
6 changed files with 10 additions and 1442 deletions

View File

@ -19,7 +19,7 @@
#include <stdio.h>
#include <string.h>
#include <assert.h>
#include <boost/assert.hpp>
#include <boost/regex.h>
const char* expression = "^";
@ -42,7 +42,7 @@ int main()
printf(buf);
return result;
}
assert(re.re_nsub == 0);
BOOST_ASSERT(re.re_nsub == 0);
matches[0].rm_so = 0;
matches[0].rm_eo = strlen(text);
result = regexec(&re, text, 1, matches, REG_NOTBOL | REG_NOTEOL | REG_STARTEND);
@ -54,7 +54,7 @@ int main()
regfree(&re);
return result;
}
assert(matches[0].rm_so == matches[0].rm_eo == 1);
BOOST_ASSERT(matches[0].rm_so == matches[0].rm_eo == 1);
regfree(&re);
printf("no errors found\n");
return 0;