Avoid putting incorrect extensions on error snapshot files (#92)

## Summary:
They were accidentally ending up as `.go` or `.graphql`, but are
actually just text.

Issue: https://github.com/Khan/genqlient/issues/90

## Test plan:
make check


Author: benjaminjkraft

Reviewers: StevenACoffman, dnerdy

Required Reviewers: 

Approved By: StevenACoffman

Checks: ✅ Test (1.17), ✅ Test (1.16), ✅ Test (1.15), ✅ Test (1.14), ✅ Lint, ✅ Test (1.17), ✅ Test (1.16), ✅ Test (1.15), ✅ Test (1.14), ✅ Lint

Pull Request URL: https://github.com/Khan/genqlient/pull/92
This commit is contained in:
Ben Kraft
2021-09-14 10:30:33 -07:00
committed by GitHub
parent 9804d42e2f
commit 639b46df32
17 changed files with 2 additions and 3 deletions
@@ -0,0 +1 @@
testdata/errors/InvalidQuery.graphql:1: query-spec does not match schema: Cannot query field "g" on type "Query". Did you mean "f"?