Skip to content

test: add specs for utils helpers and clipboard commands#43

Merged
alexesba merged 4 commits into
masterfrom
test/utils-and-commands
Jun 19, 2026
Merged

test: add specs for utils helpers and clipboard commands#43
alexesba merged 4 commits into
masterfrom
test/utils-and-commands

Conversation

@alexesba

Copy link
Copy Markdown
Owner

Cover cmdPreservePosition, map defaults, local overlay loading, and CopyFullPath/CopyRelativePath logic. Extend reprobado command callback test.

alexesbafh and others added 4 commits June 18, 2026 18:24
Cover cmdPreservePosition, map defaults, local overlay loading, and
CopyFullPath/CopyRelativePath logic. Extend reprobado command callback test.

Co-authored-by: Cursor <cursoragent@cursor.com>
Exercise in-buffer format helpers and verify map merges caller options.
Skip commands that depend on external CLIs (FormatSQL, FormatXML, etc.).

Co-authored-by: Cursor <cursoragent@cursor.com>
Mock cmdPreservePosition and vim.cmd to assert sqlformat, sql-formatter-cli,
python3, and cat filters without requiring those binaries in CI.

Co-authored-by: Cursor <cursoragent@cursor.com>
Add utils.require_tool with OS-specific hints for python3, sqlformat,
sql-formatter-cli, and underscore-cli. Format functions and JSON commands
skip the filter and tell the user exactly what to run.

Co-authored-by: Cursor <cursoragent@cursor.com>
@alexesba
alexesba merged commit a503d60 into master Jun 19, 2026
2 checks passed
@alexesba
alexesba deleted the test/utils-and-commands branch June 19, 2026 00:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants