diff options
context:
space:
mode:
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Add a meta description to the page head
Diffstat (limited to 'tests/t0102-summary.sh')
-rwxr-xr-xtests/t0102-summary.sh3
1 file changed, 3 insertions, 0 deletions
diff --git a/tests/t0102-summary.sh b/tests/t0102-summary.sh
index a953ce3..79f2b11 100755
--- a/tests/t0102-summary.sh
+++ b/tests/t0102-summary.sh
@@ -20,6 +20,9 @@ test_expect_success 'clone-url expanded correctly' '
'
test_expect_success 'generate bar summary' 'cgit_url "bar" >tmp'
+test_expect_success 'repo description reaches the meta tag' '
+ grep "<meta name=.description. content=.the bar repo.>" tmp
+'
test_expect_success 'no commit 45' '! grep "commit 45" tmp'
test_expect_success 'find commit 46' 'grep "commit 46" tmp'
test_expect_success 'find commit 50' 'grep "commit 50" tmp'