]> granicus.if.org Git - vim/commitdiff
patch 8.2.2678: test for 'autoshelldir' does not reset the option v8.2.2678
authorBram Moolenaar <Bram@vim.org>
Tue, 30 Mar 2021 18:54:28 +0000 (20:54 +0200)
committerBram Moolenaar <Bram@vim.org>
Tue, 30 Mar 2021 18:54:28 +0000 (20:54 +0200)
Problem:    Test for 'autoshelldir' does not reset the option.
Solution:   Reset the option after testing.

src/testdir/test_terminal3.vim
src/version.c

index ab926b686a4afb6139df36728121c0d659b37292..f4cc38acb092eebfbf520ee98e2991afd748e76d 100644 (file)
@@ -502,6 +502,8 @@ func Test_terminal_sync_shell_dir()
     let expected = tmpfolder
   endif
   call assert_equal(expected, getcwd(winnr()))
+
+  set noasd
 endfunc
 
 " Test for modeless selection in a terminal
index 012530f43e4cebcbbf2c2750cd9577b19e3e902b..76ab0671ea3868f9d71f793e43d881f0aa388691 100644 (file)
@@ -750,6 +750,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    2678,
 /**/
     2677,
 /**/