diff options
author | Adam Harrison <adamdharrison@gmail.com> | 2023-06-13 11:08:01 -0400 |
---|---|---|
committer | Adam Harrison <adamdharrison@gmail.com> | 2023-06-13 11:08:01 -0400 |
commit | 5f297f2d98f7a289c46cb0580b24736af475e654 (patch) | |
tree | 99e695939cb8f1fef3a692e729f1feb9c8abafb8 /t | |
parent | c7cb1f224573e29658536f3c0f55bf920c51732f (diff) | |
download | lite-xl-plugin-manager-5f297f2d98f7a289c46cb0580b24736af475e654.tar.gz lite-xl-plugin-manager-5f297f2d98f7a289c46cb0580b24736af475e654.zip |
Added in some tests, and added in coloring of output in terminals.
Diffstat (limited to 't')
-rw-r--r-- | t/run.lua | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -110,6 +110,16 @@ local tests = { assert_exists(userdir .. "/plugins/plugin_manager/lpm.x86_64-linux") assert_exists(userdir .. "/plugins/plugin_manager/lpm.x86_64-windows.exe") assert_exists(userdir .. "/plugins/plugin_manager/init.lua") + end, + ["11_dependency_check"] = function() + lpm("install lsp") + assert_exists(userdir .. "/plugins/lsp") + assert_exists(userdir .. "/plugins/lintplus") + assert_exists(userdir .. "/plugins/settings.lua") + lpm("uninstall lsp") + assert_not_exists(userdir .. "/plugins/lsp") + assert_not_exists(userdir .. "/plugins/lintplus") + assert_not_exists(userdir .. "/plugins/settings.lua") end } |