aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGiuseppe Gadola <giusgadola@gmail.com>2023-02-10 18:51:15 +0100
committerGiuseppe Gadola <giusgadola@gmail.com>2023-02-10 18:51:15 +0100
commit9f5008c49f2e66d69b2a485640a0389232dbc392 (patch)
tree3bdeaf1833ad3f16e54712449e069a34885d8eff /tests
parentchore(media): uploaded catset assets (diff)
chore: removed tests directory
Diffstat (limited to 'tests')
-rw-r--r--tests/minimal_init.lua11
-rw-r--r--tests/pets/pets_spec.lua12
2 files changed, 0 insertions, 23 deletions
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)