Skip to content

Commit 153bbd8

Browse files
committed
Merge remote-tracking branch 'origin/master' into fix-assert-erroras
2 parents 1785a96 + 486eb6f commit 153bbd8

File tree

6 files changed

+7
-21
lines changed

6 files changed

+7
-21
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ Please feel free to submit issues, fork the repository and send pull requests!
361361

362362
When submitting an issue, we ask that you please include a complete test function that demonstrates the issue. Extra credit for those using Testify to write the test code that demonstrates it.
363363

364-
Code generation is used. Look for `CODE GENERATED AUTOMATICALLY` at the top of some files. Run `go generate ./...` to update generated files.
364+
Code generation is used. [Look for `Code generated with`](https://github.com/search?q=repo%3Astretchr%2Ftestify%20%22Code%20generated%20with%22&type=code) at the top of some files. Run `go generate ./...` to update generated files.
365365

366366
We also chat on the [Gophers Slack](https://gophers.slack.com) group in the `#testify` and `#testify-dev` channels.
367367

_codegen/main.go

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -297,10 +297,8 @@ func (f *testFunc) CommentWithoutT(receiver string) string {
297297
return strings.Replace(f.Comment(), search, replace, -1)
298298
}
299299

300-
var headerTemplate = `/*
301-
* CODE GENERATED AUTOMATICALLY WITH github.com/stretchr/testify/_codegen
302-
* THIS FILE MUST NOT BE EDITED BY HAND
303-
*/
300+
// Standard header https://go.dev/s/generatedcode.
301+
var headerTemplate = `// Code generated with github.com/stretchr/testify/_codegen; DO NOT EDIT.
304302
305303
package {{.Name}}
306304

assert/assertion_format.go

Lines changed: 1 addition & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assert/assertion_forward.go

Lines changed: 1 addition & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

require/require.go

Lines changed: 1 addition & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

require/require_forward.go

Lines changed: 1 addition & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)