diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2024-09-09 04:00:35 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-09 04:00:35 -0700 |
commit | f0334c2c711ab6d2cd123f7506497c1311b0b926 (patch) | |
tree | 96a58f869698b9e80662f0793fdcc72a32293d64 /test/functional/vimscript/fnamemodify_spec.lua | |
parent | 8a2aec99748229ad9d1e12c1cbc0768d063e8eed (diff) | |
parent | c8e3618e0e68485c92bba3790a06d472d9b62697 (diff) | |
download | rneovim-f0334c2c711ab6d2cd123f7506497c1311b0b926.tar.gz rneovim-f0334c2c711ab6d2cd123f7506497c1311b0b926.tar.bz2 rneovim-f0334c2c711ab6d2cd123f7506497c1311b0b926.zip |
Merge #30312 from justinmk/testslashes
Diffstat (limited to 'test/functional/vimscript/fnamemodify_spec.lua')
-rw-r--r-- | test/functional/vimscript/fnamemodify_spec.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/functional/vimscript/fnamemodify_spec.lua b/test/functional/vimscript/fnamemodify_spec.lua index 51b1e8489a..f2cee9b83e 100644 --- a/test/functional/vimscript/fnamemodify_spec.lua +++ b/test/functional/vimscript/fnamemodify_spec.lua @@ -7,11 +7,10 @@ local fnamemodify = n.fn.fnamemodify local getcwd = n.fn.getcwd local command = n.command local write_file = t.write_file -local alter_slashes = n.alter_slashes local is_os = t.is_os local function eq_slashconvert(expected, got) - eq(alter_slashes(expected), alter_slashes(got)) + eq(t.fix_slashes(expected), t.fix_slashes(got)) end describe('fnamemodify()', function() |