Diff options
Diffstat (limited to 'tests/t0102-summary.sh')
-rwxr-xr-xtests/t0102-summary.sh4
1 file changed, 2 insertions, 2 deletions
diff --git a/tests/t0102-summary.sh b/tests/t0102-summary.sh
index 7df18e4..8d44ef4 100755
--- a/tests/t0102-summary.sh
+++ b/tests/t0102-summary.sh
@@ -11,7 +11,7 @@ test_description='Check content on summary page'
test_expect_success 'generate foo summary' 'cgit_url "foo" >tmp'
test_expect_success 'find commit 1' 'grep "commit 1" tmp'
test_expect_success 'find commit 5' 'grep "commit 5" tmp'
-test_expect_success 'find branch master' 'grep "master" tmp'
+test_expect_success 'find branch master' 'grep "<tr class=.branch.><td><a[^>]*>master</a>" tmp'
test_expect_success 'no tags' '! grep "Tag</th>" tmp'
test_expect_success 'clone-url expanded correctly' '
grep "git://example.org/foo.git" tmp
@@ -24,7 +24,7 @@ test_expect_success 'repo description reaches the meta tag' '
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'
-test_expect_success 'find branch master' 'grep "master" tmp'
+test_expect_success 'find branch master' 'grep "<tr class=.branch.><td><a[^>]*>master</a>" tmp'
test_expect_success 'no tags' '! grep "Tag</th>" tmp'
test_expect_success 'clone-url expanded correctly' '
grep "git://example.org/bar.git" tmp