aboutsummaryrefslogtreecommitdiffstats
path: root/tests/core/functional/data_spec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tests/core/functional/data_spec.lua')
-rw-r--r--tests/core/functional/data_spec.lua28
1 files changed, 0 insertions, 28 deletions
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)