X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/00eacca8a642862e2b188a6fb6fd3b23508b447d..8ace66328c7a2f416671b863cd842712d36c53cc:/test/toc-autofit.vader diff --git a/test/toc-autofit.vader b/test/toc-autofit.vader index d35f50a..2678997 100644 --- a/test/toc-autofit.vader +++ b/test/toc-autofit.vader @@ -47,6 +47,7 @@ Execute (toc window autofit width): :lclose let expected_width = len(line) + 2*5 + 1 + 3 - 7 AssertEqual real_width, expected_width + set nonumber " 2 spaces * 5 additional header levels + 1 space for first header + " 3 spaces for line numbers - 7 chars ('###### ') that don't show up on the TOC