diff options
context:
space:
mode:
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Trim the comments and dead code across the tree
Diffstat (limited to 'tests/t0201-filters.sh')
-rwxr-xr-xtests/t0201-filters.sh11
1 file changed, 4 insertions, 7 deletions
diff --git a/tests/t0201-filters.sh b/tests/t0201-filters.sh
index 971ec36..a8341aa 100755
--- a/tests/t0201-filters.sh
+++ b/tests/t0201-filters.sh
@@ -49,13 +49,10 @@ do
grep "<committer@example.com> commit C O MITTER &LT;COMMITTER@EXAMPLE.COM&GT;" tmp
'
- # Page output is buffered, so whatever was written before a filter
- # opens has to leave the buffer before the filter takes over stdout,
- # and whatever was written while it was open has to leave before
- # stdout is handed back, since those bytes are meant for the filter.
- # A missed flush reorders the page rather than losing any of it,
- # so the two tests below confirm that the markup around the filtered
- # text is still on the side of it that it belongs on.
+ # Page output is buffered and has to be flushed as stdout is handed
+ # to a filter and back. A missed flush reorders the page rather than
+ # losing any of it, so the two tests below watch which side of the
+ # filtered text the surrounding markup lands on.
test_expect_success "the $prefix source filter output stays inside its cell" "
cgit_url 'filter-$prefix/tree/a%2bb' >tmp &&
tr -d '\n' <tmp >flat.out &&