Skip to content

Getting go-header_bad.go:1: missing error "Expected:TITLE\\., Actual: TITLE!" when running make #2613

Closed
@purejgleason

Description

@purejgleason

Welcome

  • Yes, I'm using a binary release within 2 latest major releases. Only such installations are supported.
  • Yes, I've searched similar issues on GitHub and didn't find any.
  • Yes, I've included all information below (version, config, etc).
  • Yes, I've tried with the standalone linter if available. (https://golangci-lint.run/usage/linters/)

Description of the problem

I am trying to make the library from source. I clone the repo and run make and I get

    linters_test.go:37: 
        	Error Trace:	linters_test.go:37
        	            				linters_test.go:216
        	            				linters_test.go:57
        	Error:      	Received unexpected error:
        	            	go-header_bad.go:1: missing error "Expected:TITLE\\., Actual: TITLE!"
        	Test:       	TestSourcesFromTestdataWithIssuesDir/go-header_bad.go

This fails the build. I am running this on an Intel Macbook

Version of golangci-lint

Built from source

Configuration file

n/a

Go environment

$ go version && go env
# go version devel go1.18-b37a5391f9 Tue Dec 7 20:14:56 2021 +0000 darwin/amd64

Verbose output of running

n/a

Code example or link to a public repository

n/a

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions