diff --git a/parser_test.go b/parser_test.go index 201b641dc..04f7ffdfb 100644 --- a/parser_test.go +++ b/parser_test.go @@ -2434,7 +2434,7 @@ func TestSkipMustParseVendor(t *testing.T) { func TestApiParseTag(t *testing.T) { searchDir := "testdata/tags" mainAPIFile := "main.go" - p := New("") + p := New("testdata/tags") p.PropNamingStrategy = PascalCase p.ParseAPI(searchDir, mainAPIFile) diff --git a/testdata/simple2/docs/docs.go b/testdata/simple2/docs/docs.go index 340f96385..96465db7a 100644 --- a/testdata/simple2/docs/docs.go +++ b/testdata/simple2/docs/docs.go @@ -1,6 +1,6 @@ // GENERATED BY THE COMMAND ABOVE; DO NOT EDIT // This file was generated by swaggo/swag at -// 2019-04-16 13:15:55.725922751 +0200 CEST m=+0.037314828 +// 2019-05-12 11:53:26.813193671 +0200 CEST m=+0.031104467 package docs diff --git a/testdata/simple3/docs/docs.go b/testdata/simple3/docs/docs.go index a89f1c90d..6f342a6c9 100644 --- a/testdata/simple3/docs/docs.go +++ b/testdata/simple3/docs/docs.go @@ -1,6 +1,6 @@ // GENERATED BY THE COMMAND ABOVE; DO NOT EDIT // This file was generated by swaggo/swag at -// 2019-04-16 13:15:55.734596185 +0200 CEST m=+0.045988293 +// 2019-05-12 11:53:26.818257659 +0200 CEST m=+0.036168460 package docs