Diff options
| -rwxr-xr-x | tests/t0005-markup.sh | 15 |
1 file changed, 4 insertions, 11 deletions
diff --git a/tests/t0005-markup.sh b/tests/t0005-markup.sh index d8a8d9f..60a9990 100755 --- a/tests/t0005-markup.sh +++ b/tests/t0005-markup.sh @@ -177,17 +177,15 @@ test_expect_success 'a line range scrolls where a single line does' ' grep "first.scrollIntoView();" "$TEST_OUTPUT_DIRECTORY/../assets/cgit.js" ' -# The rest of the hooks need a tag, a symlink, a submodule, a trailer, a lone -# carriage return, clone urls, an empty repository and a second page of -# repositories, so they get a commit and a config of their own after the checks -# above have read the first ones. +# The rest of the hooks need a tag, a symlink, a submodule, a trailer, clone +# urls, an empty repository and a second page of repositories, so they get a +# commit and a config of their own after the checks above have read the first +# ones. test_expect_success 'set up the remaining kinds of entry' ' ( cd repos/hooks && git tag -a -m "first release" v1 && test_ln_s_add file-1 link && - printf "a\\rb\\n" >cr.txt && - git add cr.txt && git update-index --add --cacheinfo "160000,$(git rev-parse HEAD),sub" && git commit -m "more kinds of entry" -m "Fixes: $(git rev-parse --short HEAD)" ) && @@ -222,11 +220,6 @@ test_expect_success 'the refs, summary and tree name every section and row' ' grep "<tr class=.mod.>" tmp ' -test_expect_success 'a character the browser would break a line at is an escape' ' - more "hooks/tree/cr.txt" >tmp && - grep "a<span class=.escape.>" tmp -' - test_expect_success 'the commit page has its trailer table and diffstat' ' more "hooks/commit/" >tmp && grep "<table class=.commit-trailers.>" tmp && |
