diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-06-27 19:02:52 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-06-27 19:02:52 +0200 |
commit | 1d1ce613cdc74721499660b1d8911de164e2862d (patch) | |
tree | 0405fa994373f498edf7fb831805db428afcda37 /src/testdir/test_gui.vim | |
parent | 17d868b8b268c9b9670421039d1a772341937add (diff) |
patch 8.2.3067: building fails with Athenav8.2.3067
Problem: Building fails with Athena. (Elimar Riesebieter)
Solution: Adjust #ifdefs and add the 'drop_file' feature.
Diffstat (limited to 'src/testdir/test_gui.vim')
-rw-r--r-- | src/testdir/test_gui.vim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/testdir/test_gui.vim b/src/testdir/test_gui.vim index 5c18d5d227..762e332edc 100644 --- a/src/testdir/test_gui.vim +++ b/src/testdir/test_gui.vim @@ -1160,12 +1160,16 @@ endfunc " Test for dropping files into a window in GUI func DropFilesInCmdLine() + CheckFeature drop_file + call feedkeys(":\"", 'L') call test_gui_drop_files(['a.c', 'b.c'], &lines, 1, 0) call feedkeys("\<CR>", 'L') endfunc func Test_gui_drop_files() + CheckFeature drop_file + call assert_fails('call test_gui_drop_files(1, 1, 1, 0)', 'E474:') call assert_fails('call test_gui_drop_files(["x"], "", 1, 0)', 'E474:') call assert_fails('call test_gui_drop_files(["x"], 1, "", 0)', 'E474:') |