diff options
-rw-r--r-- | test/functional/options/defaults_spec.lua | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/test/functional/options/defaults_spec.lua b/test/functional/options/defaults_spec.lua index 6a28885bf0..84ec43f4cb 100644 --- a/test/functional/options/defaults_spec.lua +++ b/test/functional/options/defaults_spec.lua @@ -359,7 +359,9 @@ describe('XDG defaults', function() end) it('are correctly set', function() - assert_log('Failed to start server: no such file or directory: /X/X/X', testlog, 10) + if not is_os('win') then + assert_log('Failed to start server: no such file or directory: /X/X/X', testlog, 10) + end local vimruntime, libdir = vimruntime_and_libdir() @@ -433,7 +435,9 @@ describe('XDG defaults', function() end) it('are not expanded', function() - assert_log('Failed to start server: no such file or directory: %$XDG_RUNTIME_DIR%/', testlog, 10) + if not is_os('win') then + assert_log('Failed to start server: no such file or directory: %$XDG_RUNTIME_DIR%/', testlog, 10) + end local vimruntime, libdir = vimruntime_and_libdir() eq((('$XDG_DATA_HOME/nvim' |