Skip to content

Commit

Permalink
Use zglob
Browse files Browse the repository at this point in the history
  • Loading branch information
tenntenn committed Apr 7, 2021
1 parent 5fb6457 commit 856ca85
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions analysistest/analysistest.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ func Run(t testing.TB, testdata string, a *gqlanalysis.Analyzer, dirs ...string)

for _, dir := range dirs {
c := &checker.Checker{
Schema: filepath.Join(testdata, dir, "schema"),
Query: filepath.Join(testdata, dir, "query"),
Schema: filepath.Join(testdata, dir, "schema/**/*.graphql"),
Query: filepath.Join(testdata, dir, "query/**/*.graphql"),
}
rs, err := c.RunSingle(a)
if err != nil {
Expand Down

0 comments on commit 856ca85

Please sign in to comment.