diff options
author | Lewis Russell <lewis6991@gmail.com> | 2024-01-15 21:14:32 +0000 |
---|---|---|
committer | Lewis Russell <lewis6991@gmail.com> | 2024-01-17 10:10:17 +0000 |
commit | 13b83a3ea2f7c03fdd307eb746d784b41ee43da2 (patch) | |
tree | c2ed1d231f6cf26fe91cb1f8c12fbfcd5bc49c9c /test/functional | |
parent | b92318d67cf28e31e15ec318d7f3803986cdd5ce (diff) | |
download | rneovim-13b83a3ea2f7c03fdd307eb746d784b41ee43da2.tar.gz rneovim-13b83a3ea2f7c03fdd307eb746d784b41ee43da2.tar.bz2 rneovim-13b83a3ea2f7c03fdd307eb746d784b41ee43da2.zip |
test: move format_{string,luav} to a separate module
Diffstat (limited to 'test/functional')
-rw-r--r-- | test/functional/api/vim_spec.lua | 2 | ||||
-rw-r--r-- | test/functional/shada/merging_spec.lua | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/api/vim_spec.lua b/test/functional/api/vim_spec.lua index fb10ed34e5..91f61b5053 100644 --- a/test/functional/api/vim_spec.lua +++ b/test/functional/api/vim_spec.lua @@ -34,7 +34,7 @@ local insert = helpers.insert local skip = helpers.skip local pcall_err = helpers.pcall_err -local format_string = helpers.format_string +local format_string = require('test.format_string').format_string local intchar2lua = helpers.intchar2lua local mergedicts_copy = helpers.mergedicts_copy local endswith = vim.endswith diff --git a/test/functional/shada/merging_spec.lua b/test/functional/shada/merging_spec.lua index 94e0ee6e82..1b5c0eab5d 100644 --- a/test/functional/shada/merging_spec.lua +++ b/test/functional/shada/merging_spec.lua @@ -525,7 +525,7 @@ describe('ShaDa marks support code', function() local found = 0 for _, v in ipairs(read_shada_file(shada_fname)) do if v.type == 7 and v.value.f == mock_file_path .. '-' then - print(require('test.helpers').format_luav(v)) + print(require('test.format_string').format_luav(v)) found = found + 1 end end |