Skip to content

Test failed with golang 1.26 #2422

Description

@laokz

It complainted:

./completions_test.go:3730:37: (*testing.common).Errorf format %q has arg directive of wrong type github.com/spf13/cobra.ShellCompDirective

It looks like golang 1.26 changed "%q" behavior with int type. Surely modifying %q to %d lets the test passed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions