From 1bf8050bc4d5d79a89307e2142caa708e033f06d Mon Sep 17 00:00:00 2001 From: Folke Lemaitre Date: Thu, 4 Jul 2024 18:13:18 +0200 Subject: [PATCH] ci: new minit --- tests/{busted.lua => minit.lua} | 3 ++- tests/run | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) rename tests/{busted.lua => minit.lua} (85%) diff --git a/tests/busted.lua b/tests/minit.lua similarity index 85% rename from tests/busted.lua rename to tests/minit.lua index 4e101682..6ae23266 100644 --- a/tests/busted.lua +++ b/tests/minit.lua @@ -4,8 +4,9 @@ vim.env.LAZY_STDPATH = ".tests" load(vim.fn.system("curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua"))() -- Setup lazy.nvim -require("lazy.minit").busted({ +require("lazy.minit").setup({ spec = { + { dir = vim.uv.cwd() }, "LazyVim/starter", "williamboman/mason-lspconfig.nvim", "williamboman/mason.nvim", diff --git a/tests/run b/tests/run index 7c8bb349..8db9d516 100755 --- a/tests/run +++ b/tests/run @@ -1,3 +1,3 @@ #!/bin/sh -nvim -l tests/busted.lua tests -o utfTerminal +nvim -l tests/minit.lua --busted tests -o utfTerminal