aboutsummaryrefslogtreecommitdiff
path: root/test/functional/terminal/buffer_spec.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2024-09-09 04:00:35 -0700
committerGitHub <noreply@github.com>2024-09-09 04:00:35 -0700
commitf0334c2c711ab6d2cd123f7506497c1311b0b926 (patch)
tree96a58f869698b9e80662f0793fdcc72a32293d64 /test/functional/terminal/buffer_spec.lua
parent8a2aec99748229ad9d1e12c1cbc0768d063e8eed (diff)
parentc8e3618e0e68485c92bba3790a06d472d9b62697 (diff)
downloadrneovim-f0334c2c711ab6d2cd123f7506497c1311b0b926.tar.gz
rneovim-f0334c2c711ab6d2cd123f7506497c1311b0b926.tar.bz2
rneovim-f0334c2c711ab6d2cd123f7506497c1311b0b926.zip
Merge #30312 from justinmk/testslashes
Diffstat (limited to 'test/functional/terminal/buffer_spec.lua')
-rw-r--r--test/functional/terminal/buffer_spec.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/terminal/buffer_spec.lua b/test/functional/terminal/buffer_spec.lua
index 767a3dc205..888c4538af 100644
--- a/test/functional/terminal/buffer_spec.lua
+++ b/test/functional/terminal/buffer_spec.lua
@@ -342,7 +342,7 @@ describe(':terminal buffer', function()
command('wincmd p')
-- cwd will be inserted in a file URI, which cannot contain backs
- local cwd = fn.getcwd():gsub('\\', '/')
+ local cwd = t.fix_slashes(fn.getcwd())
local parent = cwd:match('^(.+/)')
local expected = '\027]7;file://host' .. parent
api.nvim_chan_send(term, string.format('%s\027\\', expected))