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/helpers/lua/dummy_package.lua | 2 +- tests/helpers/lua/luassertx.lua | 2 +- tests/helpers/lua/test_helpers.lua | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'tests/helpers') diff --git a/tests/helpers/lua/dummy_package.lua b/tests/helpers/lua/dummy_package.lua index 961f0959..b38d1cd8 100644 --- a/tests/helpers/lua/dummy_package.lua +++ b/tests/helpers/lua/dummy_package.lua @@ -1,4 +1,4 @@ -local Pkg = require "mason.core.package" +local Pkg = require "mason-core.package" return Pkg.new { name = "dummy", diff --git a/tests/helpers/lua/luassertx.lua b/tests/helpers/lua/luassertx.lua index f4c9e702..35f7353f 100644 --- a/tests/helpers/lua/luassertx.lua +++ b/tests/helpers/lua/luassertx.lua @@ -1,6 +1,6 @@ local assert = require "luassert" local match = require "luassert.match" -local a = require "mason.core.async" +local a = require "mason-core.async" local function wait_for(_, arguments) ---@type fun() @Function to execute until it does not error. diff --git a/tests/helpers/lua/test_helpers.lua b/tests/helpers/lua/test_helpers.lua index 2b80d3e4..57c0b4fe 100644 --- a/tests/helpers/lua/test_helpers.lua +++ b/tests/helpers/lua/test_helpers.lua @@ -2,9 +2,9 @@ local util = require "luassert.util" local spy = require "luassert.spy" -local a = require "mason.core.async" -local InstallHandle = require "mason.core.installer.handle" -local InstallContext = require "mason.core.installer.context" +local a = require "mason-core.async" +local InstallHandle = require "mason-core.installer.handle" +local InstallContext = require "mason-core.installer.context" local registry = require "mason-registry" function async_test(suspend_fn) -- cgit v1.2.3-70-g09d2