fix(ci): format
This commit is contained in:
parent
e581baccac
commit
6c09b9ae99
2 changed files with 20 additions and 20 deletions
|
|
@ -1,18 +1,18 @@
|
||||||
describe('cp.nvim', function()
|
describe("cp.nvim", function()
|
||||||
it('can be required', function()
|
it("can be required", function()
|
||||||
local cp = require('cp')
|
local cp = require("cp")
|
||||||
assert.is_not_nil(cp)
|
assert.is_not_nil(cp)
|
||||||
assert.is_function(cp.setup)
|
assert.is_function(cp.setup)
|
||||||
assert.is_function(cp.handle_command)
|
assert.is_function(cp.handle_command)
|
||||||
end)
|
end)
|
||||||
|
|
||||||
it('has health check', function()
|
it("has health check", function()
|
||||||
local health = require('cp.health')
|
local health = require("cp.health")
|
||||||
assert.is_not_nil(health)
|
assert.is_not_nil(health)
|
||||||
end)
|
end)
|
||||||
|
|
||||||
it('initializes properly', function()
|
it("initializes properly", function()
|
||||||
local cp = require('cp')
|
local cp = require("cp")
|
||||||
assert.is_true(cp.is_initialized())
|
assert.is_true(cp.is_initialized())
|
||||||
end)
|
end)
|
||||||
end)
|
end)
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
vim.env.XDG_CONFIG_HOME = vim.fn.getcwd() .. '/.tests/xdg/config'
|
vim.env.XDG_CONFIG_HOME = vim.fn.getcwd() .. "/.tests/xdg/config"
|
||||||
vim.env.XDG_DATA_HOME = vim.fn.getcwd() .. '/.tests/xdg/data'
|
vim.env.XDG_DATA_HOME = vim.fn.getcwd() .. "/.tests/xdg/data"
|
||||||
vim.env.XDG_STATE_HOME = vim.fn.getcwd() .. '/.tests/xdg/state'
|
vim.env.XDG_STATE_HOME = vim.fn.getcwd() .. "/.tests/xdg/state"
|
||||||
vim.opt.runtimepath:append(vim.fn.getcwd())
|
vim.opt.runtimepath:append(vim.fn.getcwd())
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue