-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add some better tests for use_struct_references (#273)
The test it was using was not really exercising things (maybe this was before I added support for using different queries for config tests). The new tests exercise a bit more, which is useful if you want to know exactly what this option does. I also added tests where we mix with `optional: pointer` since those interact a bit.
- Loading branch information
1 parent
d09d25e
commit 9b2f16c
Showing
4 changed files
with
618 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
67 changes: 0 additions & 67 deletions
67
...napshots/TestGenerateWithConfig-StructReferences-testdata-queries-generated-structrefs.go
This file was deleted.
Oops, something went wrong.
297 changes: 297 additions & 0 deletions
297
.../testdata/snapshots/TestGenerateWithConfig-StructReferences-testdata-queries-generated.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.