X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/00eacca8a642862e2b188a6fb6fd3b23508b447d..8f67b23f0993155097f87b3f9a7866029ccb72cf:/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