mirror of
https://github.com/CKolkey/ts-node-action
synced 2024-09-16 13:44:05 +02:00
Update spec infra
This commit is contained in:
parent
52046b6d31
commit
84079ed4a4
3 changed files with 4 additions and 4 deletions
2
run_spec
2
run_spec
|
@ -1,3 +1,3 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
nvim -u NONE --clean --headless -c "lua dofile('spec/init.lua')"
|
||||
nvim -n --clean --noplugin -u NORC --headless -S "./spec/init.lua"
|
||||
|
|
|
@ -5,8 +5,8 @@ local function ensure_installed(repo)
|
|||
vim.opt.rtp:prepend(install_path)
|
||||
|
||||
if not vim.loop.fs_stat(install_path) then
|
||||
print("* Downloading " .. name .. " to '" .. install_path .. "'")
|
||||
vim.fn.system({ "git", "clone", "git@github.com:" .. repo .. ".git", "--branch=master", install_path })
|
||||
print("* Downloading " .. name .. " to '" .. install_path .. "/'")
|
||||
vim.fn.system({ "git", "clone", "git@github.com:" .. repo .. ".git", install_path })
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -95,7 +95,7 @@ function SpecHelper:new(lang, buf_opts)
|
|||
end
|
||||
|
||||
-- Runs full integration test for text
|
||||
-- Cursor (pos) is 0-indexed, { row, col }. Defaults to first line, first col if empty
|
||||
-- Cursor (pos) is 1-indexed, { row, col }. Defaults to first line, first col if empty
|
||||
-- Returns full buffer text as a table, one string per line.
|
||||
--
|
||||
-- @param text string|table
|
||||
|
|
Loading…
Reference in a new issue