diff --git a/CHANGELOG.md b/CHANGELOG.md index e92b140..2f443c6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,9 @@ Most recent version is listed first. +## v0.0.12 +- add a tag-line of the tool(`ote`) that identified the test dependencies: https://github.com/komuw/ote/pull/40 + ## v0.0.11 - Bugfix;direct dependencies in a require block with indirect deps should be well formatted: https://github.com/komuw/ote/pull/58 diff --git a/modfile.go b/modfile.go index 8b75829..401b0f0 100644 --- a/modfile.go +++ b/modfile.go @@ -149,7 +149,9 @@ func addTestRequireBlock(f *modfile.File, lineMods []lineMod) error { } } - testLines := []*modfile.Line{} + testLines := []*modfile.Line{ + {Token: []string{"// created using: https://github.com/komuw/ote \n"}}, + } for _, y := range lineMods { testLines = append(testLines, &modfile.Line{ Token: []string{y.name, y.ver},