]> gitweb.ps.run Git - ps-cgit/commitdiff
tests: introduce strip_header() helper function
authorJohn Keeping <john@keeping.me.uk>
Sat, 18 May 2013 17:46:38 +0000 (18:46 +0100)
committerJason A. Donenfeld <Jason@zx2c4.com>
Wed, 22 May 2013 10:53:06 +0000 (12:53 +0200)
This means that we can avoid hardcoding the number of headers we expect
CGit to generate in test cases and simply remove whatever headers happen
to by there when we are checking body content.

Signed-off-by: John Keeping <john@keeping.me.uk>

No differences found