diff options
Diffstat (limited to 'tests/t0112-stats.sh')
| -rwxr-xr-x | tests/t0112-stats.sh | 6 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
1 file changed, 6 insertions, 0 deletions
diff --git a/tests/t0112-stats.sh b/tests/t0112-stats.sh index 2ada672..bc9c25b 100755 --- a/tests/t0112-stats.sh +++ b/tests/t0112-stats.sh @@ -70,6 +70,12 @@ test_expect_success 'extensionless fixture files fold into Other' ' grep "class=.left.>Other" tmp ' +test_expect_success 'stats below a path stay a normal page' ' + statq "url=stat/stats/file-1" >tmp && + grep "Status: 200" tmp && + grep "<h2>Commits per author" tmp +' + test_expect_success 'all four periods offered when max-stats is unset' ' statq "url=stat/stats/" >tmp && grep "<option value=.w." tmp && |
