Unit Tests
- Corrected FreeBSD rx unit tests.
This commit is contained in:
@@ -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");
|
||||||
|
|
||||||
#if defined(DARWIN) || defined(CYGWIN)
|
#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/");
|
||||||
|
|||||||
Reference in New Issue
Block a user