fix(ci): formatting;
This commit is contained in:
parent
28182e1a5f
commit
a5cf5cb5d2
10 changed files with 226 additions and 226 deletions
|
|
@ -1,79 +1,79 @@
|
|||
-- Unit tests for command parsing and validation
|
||||
describe("cp command parsing", function()
|
||||
describe('cp command parsing', function()
|
||||
local cp
|
||||
|
||||
before_each(function()
|
||||
cp = require("cp")
|
||||
cp = require('cp')
|
||||
cp.setup()
|
||||
end)
|
||||
|
||||
describe("platform setup commands", function()
|
||||
it("parses :CP codeforces correctly", function()
|
||||
describe('platform setup commands', function()
|
||||
it('parses :CP codeforces correctly', function()
|
||||
-- Test platform-only command parsing
|
||||
end)
|
||||
|
||||
it("parses :CP codeforces 1800 correctly", function()
|
||||
it('parses :CP codeforces 1800 correctly', function()
|
||||
-- Test contest setup command parsing
|
||||
end)
|
||||
|
||||
it("parses :CP codeforces 1800 A correctly", function()
|
||||
it('parses :CP codeforces 1800 A correctly', function()
|
||||
-- Test full setup command parsing
|
||||
end)
|
||||
|
||||
it("parses CSES format :CP cses 1068 correctly", function()
|
||||
it('parses CSES format :CP cses 1068 correctly', function()
|
||||
-- Test CSES-specific command parsing
|
||||
end)
|
||||
end)
|
||||
|
||||
describe("action commands", function()
|
||||
it("parses :CP test correctly", function()
|
||||
describe('action commands', function()
|
||||
it('parses :CP test correctly', function()
|
||||
-- Test test panel command
|
||||
end)
|
||||
|
||||
it("parses :CP next correctly", function()
|
||||
it('parses :CP next correctly', function()
|
||||
-- Test navigation command
|
||||
end)
|
||||
|
||||
it("parses :CP prev correctly", function()
|
||||
it('parses :CP prev correctly', function()
|
||||
-- Test navigation command
|
||||
end)
|
||||
end)
|
||||
|
||||
describe("language flags", function()
|
||||
it("parses --lang=cpp correctly", function()
|
||||
describe('language flags', function()
|
||||
it('parses --lang=cpp correctly', function()
|
||||
-- Test language flag parsing
|
||||
end)
|
||||
|
||||
it("parses --debug flag correctly", function()
|
||||
it('parses --debug flag correctly', function()
|
||||
-- Test debug flag parsing
|
||||
end)
|
||||
|
||||
it("combines flags correctly", function()
|
||||
it('combines flags correctly', function()
|
||||
-- Test multiple flag parsing
|
||||
end)
|
||||
end)
|
||||
|
||||
describe("error handling", function()
|
||||
it("handles invalid commands gracefully", function()
|
||||
describe('error handling', function()
|
||||
it('handles invalid commands gracefully', function()
|
||||
-- Test error messages for bad commands
|
||||
end)
|
||||
|
||||
it("provides helpful error messages", function()
|
||||
it('provides helpful error messages', function()
|
||||
-- Test error message quality
|
||||
end)
|
||||
end)
|
||||
|
||||
describe("command completion", function()
|
||||
it("completes platform names", function()
|
||||
describe('command completion', function()
|
||||
it('completes platform names', function()
|
||||
-- Test tab completion for platforms
|
||||
end)
|
||||
|
||||
it("completes problem IDs from cached contest", function()
|
||||
it('completes problem IDs from cached contest', function()
|
||||
-- Test problem ID completion
|
||||
end)
|
||||
|
||||
it("completes action names", function()
|
||||
it('completes action names', function()
|
||||
-- Test action completion
|
||||
end)
|
||||
end)
|
||||
end)
|
||||
end)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue