test: move format_{string,luav} to a separate module

This commit is contained in:
Lewis Russell
2024-01-15 21:14:32 +00:00
parent b92318d67c
commit 13b83a3ea2
6 changed files with 175 additions and 171 deletions

View File

@@ -14,8 +14,8 @@ local ffi = helpers.ffi
local neq = helpers.neq
local eq = helpers.eq
local mergedicts_copy = helpers.mergedicts_copy
local format_string = helpers.format_string
local format_luav = helpers.format_luav
local format_string = require('test.format_string').format_string
local format_luav = require('test.format_string').format_luav
local intchar2lua = helpers.intchar2lua
local dictdiff = helpers.dictdiff

View File

@@ -1,6 +1,4 @@
local global_helpers = require('test.helpers')
local REMOVE_THIS = global_helpers.REMOVE_THIS
local REMOVE_THIS = vim.NIL
return function(itp, _check_parsing, hl, fmtn)
local function check_parsing(...)