[vim/vim] runtime(syntax-tests): Rename test files on demand (PR #20482)

1 view
Skip to first unread message

Aliaksei Budavei

unread,
2:29 PM (2 hours ago) 2:29 PM
to vim/vim, Subscribed

The current scheme for naming syntax plugin tests expects
a filetype name prefix and an associated filename extension.
However, many configurational filetypes, e.g. Gitignore,
lack any established filename extension. Factor out the
available file-renaming routine and offer a convenience
function to work around this limitation.

For example, put in a VIM_TEST_SETUP aware context:

call DeferRenamingTestFileTo('.gitignore')

You can view, comment on, or merge this pull request online at:

  https://github.com/vim/vim/pull/20482

Commit Summary

  • 84dbc26 runtime(syntax-tests): Rename test files on demand

File Changes

(3 files)

Patch Links:


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/20482@github.com>

Reply all
Reply to author
Forward
0 new messages