X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/f3edf871989e4c9763fb8f205671d87608790f04..b4be7adc44df6f0c7e0f73eb84933e3259dbff90:/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