Skip to content

Commit

Permalink
add test args for vulncheck test case
Browse files Browse the repository at this point in the history
  • Loading branch information
luxifer committed Dec 12, 2022
1 parent 1b9a7cb commit aa36afd
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions test/testdata/vulncheck/vulncheck.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
//golangcitest:args -Evulncheck
package vulncheck

import "golang.org/x/text/language"
import (
"fmt"

func testvuln() {
_ = language.MustParseRegion("US")
"golang.org/x/text/language"
)

func ParseRegion() {
us := language.MustParseRegion("US")
fmt.Println(us)
}

0 comments on commit aa36afd

Please sign in to comment.