aboutsummaryrefslogtreecommitdiff
path: root/test/functional/lua/ui_spec.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2024-04-20 05:47:08 -0700
committerGitHub <noreply@github.com>2024-04-20 05:47:08 -0700
commitfd085d90820149caecf213b299f19e46305043ee (patch)
tree35bbab36ece729a62e4f17cd19c9edd09f9f41f1 /test/functional/lua/ui_spec.lua
parent0ea38c9a53dfcff17703ea22f701ed1cc5bbd7d3 (diff)
downloadrneovim-fd085d90820149caecf213b299f19e46305043ee.tar.gz
rneovim-fd085d90820149caecf213b299f19e46305043ee.tar.bz2
rneovim-fd085d90820149caecf213b299f19e46305043ee.zip
fix(vim.ui.open): try wslview before explorer.exe #28424
Problem: explorer.exe is unreliable on WSL. Solution: Try wslview before explorer.exe. fix #28410
Diffstat (limited to 'test/functional/lua/ui_spec.lua')
-rw-r--r--test/functional/lua/ui_spec.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/lua/ui_spec.lua b/test/functional/lua/ui_spec.lua
index 71a04a9ae6..2472725c56 100644
--- a/test/functional/lua/ui_spec.lua
+++ b/test/functional/lua/ui_spec.lua
@@ -151,7 +151,7 @@ describe('vim.ui', function()
vim.fn.executable = function() return 0 end
]]
eq(
- 'vim.ui.open: no handler found (tried: explorer.exe, xdg-open)',
+ 'vim.ui.open: no handler found (tried: wslview, explorer.exe, xdg-open)',
exec_lua [[local _, err = vim.ui.open('foo') ; return err]]
)
end)