comparison src/testdir/test_vim9_builtin.vim @ 25143:54a547489e49 v8.2.3108

patch 8.2.3108: test for remote_foreground() fails Commit: https://github.com/vim/vim/commit/d6fa7bd5b900dd363d3a824e0ebe3619a1634df6 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jul 5 14:10:04 2021 +0200 patch 8.2.3108: test for remote_foreground() fails Problem: Test for remote_foreground() fails. (Elimar Riesebieter) Solution: Check that $DISPLAY is set. (Christian Brabandt)
author Bram Moolenaar <Bram@vim.org>
date Mon, 05 Jul 2021 14:15:05 +0200
parents e38a406ccc46
children 14448e7acdb2
comparison
equal deleted inserted replaced
25142:31b4d41b8470 25143:54a547489e49
1413 1413
1414 def Test_remote_foreground() 1414 def Test_remote_foreground()
1415 CheckFeature clientserver 1415 CheckFeature clientserver
1416 # remote_foreground() doesn't fail on MS-Windows 1416 # remote_foreground() doesn't fail on MS-Windows
1417 CheckNotMSWindows 1417 CheckNotMSWindows
1418 CheckEnv DISPLAY
1419
1418 CheckDefFailure(['remote_foreground(10)'], 'E1013: Argument 1: type mismatch, expected string but got number') 1420 CheckDefFailure(['remote_foreground(10)'], 'E1013: Argument 1: type mismatch, expected string but got number')
1419 assert_fails('remote_foreground("NonExistingServer")', 'E241:') 1421 assert_fails('remote_foreground("NonExistingServer")', 'E241:')
1420 enddef 1422 enddef
1421 1423
1422 def Test_remote_startserver() 1424 def Test_remote_startserver()