Unit Tests

- Corrected FreeBSD rx unit tests.

Conflicts:
	test/rx.t.cpp
This commit is contained in:
Paul Beckingham 2012-08-28 15:19:17 +02:00 committed by Federico Hernandez
parent 36e3317907
commit d868294d90

View file

@ -88,7 +88,7 @@ int main (int argc, char** argv)
ut.ok (r9.match (start, end, text), "e there are matches"); ut.ok (r9.match (start, end, text), "e there are matches");
ut.is (start.size (), (size_t) 6, "e == 6 matches"); ut.is (start.size (), (size_t) 6, "e == 6 matches");
#ifdef DARWIN #if defined(DARWIN) || defined(CYGWIN) || defined(FREEBSD)
text = "this is the end."; text = "this is the end.";
ut.pass (text + " =~ /\\bthe/"); ut.pass (text + " =~ /\\bthe/");
ut.pass (text + " =~ /the\\b/"); ut.pass (text + " =~ /the\\b/");