Skip to content

Commit

Permalink
Undo remove test util function
Browse files Browse the repository at this point in the history
  • Loading branch information
mgnsk committed Jun 18, 2024
1 parent 0456d45 commit 517e782
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/test_utils.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
local M = {}

--- @param str1 string
--- @param str2 string
--- @param pos integer
local function insert(str1, str2, pos)
return str1:sub(1, pos) .. str2 .. str1:sub(pos + 1)
end

--- @param tc {name: string, before: string, feed: string, after: string[]}
M.run_test = function(tc)
before_each(function()
Expand Down

0 comments on commit 517e782

Please sign in to comment.