aboutsummaryrefslogtreecommitdiffstats
path: root/tests/core/clients/eclipse_spec.lua
diff options
context:
space:
mode:
authorWilliam Boman <william@redwill.se>2022-01-06 18:21:19 +0100
committerGitHub <noreply@github.com>2022-01-06 18:21:19 +0100
commit5cc73ef7360866c65169e0e7d55d3b59fb3b6eaa (patch)
treeb958f26ae3964e7ba8aa3572b81ece1e23b49df1 /tests/core/clients/eclipse_spec.lua
parentrerun autogen (diff)
downloadmason-5cc73ef7360866c65169e0e7d55d3b59fb3b6eaa.tar
mason-5cc73ef7360866c65169e0e7d55d3b59fb3b6eaa.tar.gz
mason-5cc73ef7360866c65169e0e7d55d3b59fb3b6eaa.tar.bz2
mason-5cc73ef7360866c65169e0e7d55d3b59fb3b6eaa.tar.lz
mason-5cc73ef7360866c65169e0e7d55d3b59fb3b6eaa.tar.xz
mason-5cc73ef7360866c65169e0e7d55d3b59fb3b6eaa.tar.zst
mason-5cc73ef7360866c65169e0e7d55d3b59fb3b6eaa.zip
feat(ui): display outdated servers (#395)
Diffstat (limited to 'tests/core/clients/eclipse_spec.lua')
-rw-r--r--tests/core/clients/eclipse_spec.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/core/clients/eclipse_spec.lua b/tests/core/clients/eclipse_spec.lua
new file mode 100644
index 00000000..bd7fac1d
--- /dev/null
+++ b/tests/core/clients/eclipse_spec.lua
@@ -0,0 +1,10 @@
+local eclipse = require "nvim-lsp-installer.core.clients.eclipse"
+
+describe("eclipse client", function()
+ it("parses jdtls version strings", function()
+ assert.equal(
+ "1.8.0-202112170540",
+ eclipse._parse_jdtls_version_string "jdt-language-server-1.8.0-202112170540.tar.gz"
+ )
+ end)
+end)