Skip to content

Conversation

mstv
Copy link
Member

@mstv mstv commented Mar 7, 2025

Fixes #12226

Proposed changes

  • Embed default AutoCompleteRegexes.txt as raw string literal instead of as resource file in order to be able to use them in tests, too

Screenshots

N/A

Test methodology

  • existing tests

Merge strategy

I agree that the maintainer squash merge this PR (if the commit message is clear).


✒️ I contribute this code under The Developer Certificate of Origin.

@mstv mstv self-assigned this Mar 7, 2025
Comment on lines -121 to -124
if (entryAssembly is null)
{
// This will be null during integration tests, for example
return Enumerable.Empty<string>();
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This comment is not true with current "dotnet test".

@mstv mstv merged commit d558831 into gitextensions:master Mar 8, 2025
4 checks passed
@mstv mstv deleted the fix/autocompleteregexes branch March 8, 2025 16:22
mstv added a commit to mstv/gitextensions that referenced this pull request Mar 9, 2025
when using AutoCompleteRegexes.Default

Refs: Addendum to gitextensions#12244
mstv added a commit that referenced this pull request Mar 9, 2025
when using AutoCompleteRegexes.Default

Refs: #12247, addendum to #12244
@mstv mstv added this to the v5.3 milestone Mar 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CI: FormCommitTests hang with unhandled NotImplementedException
3 participants