Skip to content

Fix directive formatting in completion test#2427

Closed
HNO3Miracle wants to merge 1 commit into
spf13:mainfrom
HNO3Miracle:fix-directive-format
Closed

Fix directive formatting in completion test#2427
HNO3Miracle wants to merge 1 commit into
spf13:mainfrom
HNO3Miracle:fix-directive-format

Conversation

@HNO3Miracle

Copy link
Copy Markdown

Fix a completion test diagnostic that formats ShellCompDirective with %q. Current Go vet reports this as an invalid format string.

ShellCompDirective is a numeric bitmask type, so %v is the appropriate diagnostic format here.

Tested:

  • go test ./...

Signed-off-by: HNO3Miracle <xiangao.or@isrc.iscas.ac.cn>
@CLAassistant

CLAassistant commented Jun 30, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@marckhouzam

Copy link
Copy Markdown
Collaborator

Duplicate of #2423

@marckhouzam marckhouzam marked this as a duplicate of #2423 Jun 30, 2026
@HNO3Miracle HNO3Miracle deleted the fix-directive-format branch June 30, 2026 13:49
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.

3 participants