mirror of
				https://github.com/neovim/neovim.git
				synced 2025-10-26 12:27:24 +00:00 
			
		
		
		
	vim-patch:8.1.0853: options test fails on Mac
Problem:    Options test fails on Mac.
Solution:   Remove a trailing slash from $TMPDIR.
cbbd0f6578
			
			
This commit is contained in:
		| @@ -385,8 +385,10 @@ func Test_backupskip() | ||||
|   for var in  ['$TMPDIR', '$TMP', '$TEMP'] | ||||
|     if exists(var) | ||||
|       let varvalue = substitute(expand(var), '\\', '/', 'g') | ||||
|       let found = (index(bsklist, varvalue.'/*') >= 0) | ||||
|       call assert_true(found, var . ' not in option bsk: ' . &bsk) | ||||
|       let varvalue = substitute(varvalue, '/$', '', '') | ||||
|       let varvalue .= '/*' | ||||
|       let found = (index(bsklist, varvalue) >= 0) | ||||
|       call assert_true(found, var . ' (' . varvalue . ') not in option bsk: ' . &bsk) | ||||
|     endif | ||||
|   endfor | ||||
| endfunc | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Jan Edmund Lazo
					Jan Edmund Lazo