diff src/testdir/test_vartabs.vim @ 16376:3b5d401a58ce v8.1.1193

patch 8.1.1193: typos and small problems in test files commit https://github.com/vim/vim/commit/037c54f261818439755d56e318da068f97997fb5 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Apr 20 23:47:46 2019 +0200 patch 8.1.1193: typos and small problems in test files Problem: Typos and small problems in test files. Solution: Small improvements.
author Bram Moolenaar <Bram@vim.org>
date Sun, 21 Apr 2019 00:00:04 +0200
parents 63b02fcf1361
children f38fcbf343ce
line wrap: on
line diff
--- a/src/testdir/test_vartabs.vim
+++ b/src/testdir/test_vartabs.vim
@@ -5,6 +5,7 @@ if !has("vartabs")
 endif
 
 source view_util.vim
+
 func s:compare_lines(expect, actual)
   call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))
 endfunc
@@ -372,3 +373,9 @@ func Test_vartabs_failures()
   call assert_fails('set vts=,8')
   call assert_fails('set vsts=,8')
 endfunc
+
+func Test_vartabs_reset()
+  set vts=8
+  set all&
+  call assert_equal('', &vts)
+endfunc