]> git.ipfire.org Git - thirdparty/public-inbox.git/commitdiff
t/repobrowse_git_tree.t: fix test for lack of bold
authorEric Wong <e@80x24.org>
Sat, 21 May 2016 07:11:49 +0000 (07:11 +0000)
committerEric Wong <e@80x24.org>
Sat, 21 May 2016 07:15:34 +0000 (07:15 +0000)
Fixes: dac5d97d6042 ("repobrowse: do not bold directory names in tree view")
t/repobrowse_git_tree.t

index 205022a9782ab5cba6dbfac4d2b51e3664763e1a..531f914c83d5d43f7b934d5336ecdeba7d13de41 100644 (file)
@@ -11,7 +11,7 @@ test_psgi($test->{app}, sub {
        my $res = $cb->(GET($req));
        is(200, $res->code, 'got 200 response from dir');
        my $noslash_body = dechunk($res);
-       like($noslash_body, qr{href="dir/dur\?id=\w+"><b>dur/</b></a>},
+       like($noslash_body, qr{href="dir/dur\?id=\w+">dur/</a>},
                'path ok w/o slash');
 
        my $slash = $req . '/';