Switch to cupaloy for snapshots

Slightly uglier filenames, but less code and free diffing!  Approved in
ADR-466 for Khan use.  Fixes #23.
This commit is contained in:
Ben Kraft
2021-06-03 12:08:56 -07:00
parent 3c11f07e62
commit 1f442da041
63 changed files with 78 additions and 85 deletions
+1
View File
@@ -40,6 +40,7 @@ func getTestQueries(t *testing.T, ext string) *ast.QueryDocument {
// produces equivalent results. We do not test the results it produces (that's
// covered by TestGenerate), just that they are equivalent in different
// languages (since TestGenerate only uses .graphql as input).
// TODO: redo this as more standard snapshot tests?
func TestParse(t *testing.T) {
extensions := []string{"go"}