From 976aa4fbee8a070f362cab6f6ec84e9251a90cf9 Mon Sep 17 00:00:00 2001 From: William Boman Date: Fri, 8 Jul 2022 18:34:38 +0200 Subject: refactor: add mason-schemas and mason-core modules (#29) * refactor: add mason-schemas and move generated filetype map to mason-lspconfig * refactor: add mason-core module --- tests/core/functional/data_spec.lua | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 tests/core/functional/data_spec.lua (limited to 'tests/core/functional/data_spec.lua') diff --git a/tests/core/functional/data_spec.lua b/tests/core/functional/data_spec.lua deleted file mode 100644 index cdc26809..00000000 --- a/tests/core/functional/data_spec.lua +++ /dev/null @@ -1,28 +0,0 @@ -local _ = require "mason.core.functional" - -describe("functional: data", function() - it("creates enums", function() - local colors = _.enum { - "BLUE", - "YELLOW", - } - assert.same({ - ["BLUE"] = "BLUE", - ["YELLOW"] = "YELLOW", - }, colors) - end) - - it("creates sets", function() - local colors = _.set_of { - "BLUE", - "YELLOW", - "BLUE", - "RED", - } - assert.same({ - ["BLUE"] = true, - ["YELLOW"] = true, - ["RED"] = true, - }, colors) - end) -end) -- cgit v1.2.3-70-g09d2