fix(ci): formatting;
This commit is contained in:
parent
28182e1a5f
commit
a5cf5cb5d2
10 changed files with 226 additions and 226 deletions
|
|
@ -1,68 +1,68 @@
|
|||
-- Unit tests for snippet/template functionality
|
||||
describe("cp.snippets", function()
|
||||
describe('cp.snippets', function()
|
||||
local snippets
|
||||
|
||||
before_each(function()
|
||||
snippets = require("cp.snippets")
|
||||
snippets = require('cp.snippets')
|
||||
end)
|
||||
|
||||
describe("template loading", function()
|
||||
it("loads default templates correctly", function()
|
||||
describe('template loading', function()
|
||||
it('loads default templates correctly', function()
|
||||
-- Test default template loading
|
||||
end)
|
||||
|
||||
it("loads platform-specific templates", function()
|
||||
it('loads platform-specific templates', function()
|
||||
-- Test Codeforces vs CSES templates
|
||||
end)
|
||||
|
||||
it("loads language-specific templates", function()
|
||||
it('loads language-specific templates', function()
|
||||
-- Test C++ vs Python vs Rust templates
|
||||
end)
|
||||
|
||||
it("handles custom user templates", function()
|
||||
it('handles custom user templates', function()
|
||||
-- Test user-defined template integration
|
||||
end)
|
||||
end)
|
||||
|
||||
describe("LuaSnip integration", function()
|
||||
it("registers snippets with LuaSnip", function()
|
||||
describe('LuaSnip integration', function()
|
||||
it('registers snippets with LuaSnip', function()
|
||||
-- Test snippet registration
|
||||
end)
|
||||
|
||||
it("provides platform-language combinations", function()
|
||||
it('provides platform-language combinations', function()
|
||||
-- Test snippet triggers like cp.nvim/codeforces.cpp
|
||||
end)
|
||||
|
||||
it("handles missing LuaSnip gracefully", function()
|
||||
it('handles missing LuaSnip gracefully', function()
|
||||
-- Test fallback when LuaSnip not available
|
||||
end)
|
||||
end)
|
||||
|
||||
describe("template expansion", function()
|
||||
it("expands templates with correct content", function()
|
||||
describe('template expansion', function()
|
||||
it('expands templates with correct content', function()
|
||||
-- Test template content expansion
|
||||
end)
|
||||
|
||||
it("handles template variables", function()
|
||||
it('handles template variables', function()
|
||||
-- Test variable substitution in templates
|
||||
end)
|
||||
|
||||
it("maintains cursor positioning", function()
|
||||
it('maintains cursor positioning', function()
|
||||
-- Test cursor placement after expansion
|
||||
end)
|
||||
end)
|
||||
|
||||
describe("template management", function()
|
||||
it("allows template customization", function()
|
||||
describe('template management', function()
|
||||
it('allows template customization', function()
|
||||
-- Test user template override
|
||||
end)
|
||||
|
||||
it("supports template inheritance", function()
|
||||
it('supports template inheritance', function()
|
||||
-- Test template extending/modification
|
||||
end)
|
||||
|
||||
it("validates template syntax", function()
|
||||
it('validates template syntax', function()
|
||||
-- Test template validation
|
||||
end)
|
||||
end)
|
||||
end)
|
||||
end)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue