X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/00eacca8a642862e2b188a6fb6fd3b23508b447d..46bfed06fd0e8a9bff1ff2b1f948428fc41275d3:/test/toc-autofit.vader?ds=inline 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