X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/d346b2cf5a80a3757a01a683a047a68dd3d2c276..d738a9b17f4cbb8cee0889d90f1c6858e1ee7826:/test/toc-autofit.vader?ds=inline diff --git a/test/toc-autofit.vader b/test/toc-autofit.vader index 166cc81..d35f50a 100644 --- a/test/toc-autofit.vader +++ b/test/toc-autofit.vader @@ -43,7 +43,7 @@ Execute (toc window autofit width): let line = '###### chap 12.1.1.1.1.1' AssertEqual getline('33'), line :Toc - let real_width = &winwidth + let real_width = winwidth(0) :lclose let expected_width = len(line) + 2*5 + 1 + 3 - 7 AssertEqual real_width, expected_width