aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-02-24 20:59:56 -0500
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-03-01 20:02:09 -0500
commit2a818f8901558b30a393b79d77466a5b3a57d6c6 (patch)
tree4eda3504bee24116abee754901a88c7b00a6719b
parentd846f47cc88cd36da5ad8fd7e716552c80e3b418 (diff)
downloadrneovim-2a818f8901558b30a393b79d77466a5b3a57d6c6.tar.gz
rneovim-2a818f8901558b30a393b79d77466a5b3a57d6c6.tar.bz2
rneovim-2a818f8901558b30a393b79d77466a5b3a57d6c6.zip
vim-patch:8.1.0885: test for restricted hangs on MS-Windows GUI
Problem: Test for restricted hangs on MS-Windows GUI. Solution: Skip the test. https://github.com/vim/vim/commit/18c5632cab09e5e51320f55005f310920648f35b
-rw-r--r--src/nvim/testdir/test_restricted.vim5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_restricted.vim b/src/nvim/testdir/test_restricted.vim
index 9dd937cf3e..85da94c418 100644
--- a/src/nvim/testdir/test_restricted.vim
+++ b/src/nvim/testdir/test_restricted.vim
@@ -2,6 +2,11 @@
source shared.vim
+if has('win32') && has('gui')
+ " Win32 GUI shows a dialog instead of displaying the error in the last line.
+ finish
+endif
+
func Test_restricted()
let cmd = GetVimCommand('Xrestricted')
if cmd == ''