From 9f5008c49f2e66d69b2a485640a0389232dbc392 Mon Sep 17 00:00:00 2001 From: Giuseppe Gadola Date: Fri, 10 Feb 2023 18:51:15 +0100 Subject: chore: removed tests directory --- tests/minimal_init.lua | 11 ----------- tests/pets/pets_spec.lua | 12 ------------ 2 files changed, 23 deletions(-) delete mode 100644 tests/minimal_init.lua delete mode 100644 tests/pets/pets_spec.lua (limited to 'tests') diff --git a/tests/minimal_init.lua b/tests/minimal_init.lua deleted file mode 100644 index 0841a82..0000000 --- a/tests/minimal_init.lua +++ /dev/null @@ -1,11 +0,0 @@ -local plenary_dir = os.getenv("PLENARY_DIR") or "/tmp/plenary.nvim" -local is_not_a_directory = vim.fn.isdirectory(plenary_dir) == 0 -if is_not_a_directory then - vim.fn.system({"git", "clone", "https://github.com/nvim-lua/plenary.nvim", plenary_dir}) -end - -vim.opt.rtp:append(".") -vim.opt.rtp:append(plenary_dir) - -vim.cmd("runtime plugin/plenary.vim") -require("plenary.busted") diff --git a/tests/pets/pets_spec.lua b/tests/pets/pets_spec.lua deleted file mode 100644 index 42ab112..0000000 --- a/tests/pets/pets_spec.lua +++ /dev/null @@ -1,12 +0,0 @@ -local plugin = require("plugin_name") - -describe("setup", function() - it("works with default", function() - assert("my first function with param = Hello!", plugin.hello()) - end) - - it("works with custom var", function() - plugin.setup({ opt = "custom" }) - assert("my first function with param = custom", plugin.hello()) - end) -end) -- cgit v1.3-2-g11bf