From c043e806a5fbe4f23a5f9de38a1ac82ab6d05bf4 Mon Sep 17 00:00:00 2001 From: erw7 Date: Tue, 6 Oct 2020 10:31:50 +0900 Subject: fileio: fix "is a directory" warning on Windows The porting of vim/vim@c8fe645 by #13040 on Windows was incomplete. This fixes that and makes the "is a directory" warning appear properly on Windows as well. --- src/nvim/testdir/test_edit.vim | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/nvim/testdir/test_edit.vim') diff --git a/src/nvim/testdir/test_edit.vim b/src/nvim/testdir/test_edit.vim index 97a8ad25a3..d4b1c63741 100644 --- a/src/nvim/testdir/test_edit.vim +++ b/src/nvim/testdir/test_edit.vim @@ -1536,10 +1536,8 @@ func Test_edit_noesckeys() endfunc " Test for editing a directory -" Todo: "is a directory" message is not displayed in Windows. func Test_edit_is_a_directory() CheckEnglish - CheckNotMSWindows let dirname = getcwd() . "/Xdir" call mkdir(dirname, 'p') -- cgit