Diff options
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Tidy the diff and stat options panel
Its caption sat above the box, each select took its own width, and the reload button hung indented under them. The caption is now the panel's header strip, the selects and the button share one column at the width of the widest select, and the labels lose their colons to match the commit details.
Diffstat (limited to 'tests/t0005-markup.sh')
-rwxr-xr-xtests/t0005-markup.sh4
1 file changed, 2 insertions, 2 deletions
diff --git a/tests/t0005-markup.sh b/tests/t0005-markup.sh
index 740a4f8..e2bf8f3 100755
--- a/tests/t0005-markup.sh
+++ b/tests/t0005-markup.sh
@@ -71,13 +71,13 @@ test_expect_success 'the diff pages wrap each file and label their controls' '
grep "<table class=.commit-info.>" tmp &&
grep "<th scope=.row.>author</th>" tmp &&
grep "<div class=.file. data-path=.dir/hello.c.>" tmp &&
- grep "<label for=.diff-context.>" tmp &&
+ grep "<label for=.diff-context.>context</label>" tmp &&
grep "<select id=.diff-context. name=.context.>" tmp &&
grep "<form method=.get. aria-label=.Diff options.>" tmp &&
hooks "hooks/diff/&ss=1" >tmp &&
grep "<tbody class=.file. data-path=.dir/hello.c.>" tmp &&
hooks "hooks/stats/" >tmp &&
- grep "<label for=.stats-authors.>" tmp
+ grep "<label for=.stats-authors.>authors</label>" tmp
'
test_expect_success 'the blob, blame and about pages open with their own containers' '