Skip to content

Commit

Permalink
Add positive test expression
Browse files Browse the repository at this point in the history
  • Loading branch information
denisvmedia committed Aug 28, 2023
1 parent 6da6135 commit 3a11e01
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions testdata/import-alias-naming-custom-config.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ import (
bar_foo "strings" // MATCH /import name (bar_foo) must match the regular expression: ^[a-z]+$/
fooBAR "strings" // MATCH /import name (fooBAR) must match the regular expression: ^[a-z]+$/
v1 "strings" // MATCH /import name (v1) must match the regular expression: ^[a-z]+$/
magical "magic/hat"
)

func somefunc() {
fooBAR.Clone("")
bar_foo.Clone("")
v1.Clone("")
magical.Clone("")
}

0 comments on commit 3a11e01

Please sign in to comment.