Skip to content

Commit

Permalink
New suffix for golden files.
Browse files Browse the repository at this point in the history
  • Loading branch information
atombender committed Sep 29, 2018
1 parent 8f3b6f9 commit 6fd2213
Show file tree
Hide file tree
Showing 18 changed files with 1 addition and 0 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions tests/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ func testExampleFile(t *testing.T, generator *generator.Generator, fileName stri
if outputName == "-" {
outputName = strings.TrimSuffix(filepath.Base(fileName), ".json") + ".go"
}
outputName += ".output"

goldenFileName := filepath.Join(filepath.Dir(fileName), outputName)

Expand Down

0 comments on commit 6fd2213

Please sign in to comment.