Commit Graph

6 Commits

Author SHA1 Message Date
Willa Drengwitz
fc679a06ac Update strip color perl command 2018-08-31 13:53:51 -04:00
Matthew Rothenberg
b2d86a16b2 use perl instead of sed -r to strip colors in test
`sed -r` is not present on some BSD based systems, including MacOSX
Darwin.  perl is standard pretty much everywhere, so this a more
reliable way to test.

Since this is only used for tests, any performance differences
should not matter significantly.
2014-10-16 15:31:12 -04:00
Matthew Rothenberg
b395596496 dont use grep -P for cross-platform compatibility
`grep -P` gives access to the PCRE matching engine, which is nice,
however, the version of grep shipped on many BSD systems (including
Darwin) does not have this flag.

Currently, `grep -P` was being used in the `_includes()` test helper.

For cross platform compatibility in tests, do not rely upon this option.
Luckily, all existing tests seem to work fine without it already!
2014-10-16 15:26:34 -04:00
Nathan Broadbent
fc9d7787b1 Updated demo user setup 2013-04-09 12:04:45 +12:00
Nathan Broadbent
7ffbaefb03 Set up demo git user for tests 2013-04-09 12:03:43 +12:00
Nathan Broadbent
5836617dbf Fully fixed up ll escaping, added lots of tests 2012-10-23 12:25:28 +13:00