Skip to content

Commit d81784a

Browse files
committed
move Test_GitURLToModuleName to internal/templates/templates_test.go
1 parent ca0b4ee commit d81784a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

v3/internal/commands/init_test.go renamed to v3/internal/templates/templates_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package commands
1+
package templates
22

33
import "testing"
44

@@ -106,7 +106,7 @@ func Test_GitURLToModuleName(t *testing.T) {
106106
}
107107
for _, tt := range tests {
108108
t.Run(tt.name, func(t *testing.T) {
109-
if got := GitURLToModuleName(tt.gitURL); got != tt.want {
109+
if got := gitURLToModuleName(tt.gitURL); got != tt.want {
110110
t.Errorf("GitURLToModuleName() = %v, want %v", got, tt.want)
111111
}
112112
})

0 commit comments

Comments
 (0)