Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 3 additions & 1 deletion modfile.go
Original file line number Diff line number Diff line change
Expand Up @@ -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},
Expand Down