diff --git a/cmd/builder/internal/version_test.go b/cmd/builder/internal/version_test.go index 8a0c222b09d..1e352baea97 100644 --- a/cmd/builder/internal/version_test.go +++ b/cmd/builder/internal/version_test.go @@ -64,7 +64,7 @@ var validBinVersionFunc binVersionFunc = func(_ debugReadBuildInfoFunc) (string, } var invalidBinVersionFunc binVersionFunc = func(_ debugReadBuildInfoFunc) (string, error) { - return "", fmt.Errorf("failed to get version") + return "", fmt.Errorf("failed to read build info") } func TestVersionCommand(t *testing.T) {