diff --git a/generate/generate_test.go b/generate/generate_test.go index 19845954..f69f2233 100644 --- a/generate/generate_test.go +++ b/generate/generate_test.go @@ -64,10 +64,12 @@ func TestGenerate(t *testing.T) { } if strings.HasPrefix(runtime.Version(), "go1.13") && - sourceFilename == "InterfaceNesting.graphql" { + (sourceFilename == "InterfaceNesting.graphql" || + sourceFilename == "InterfaceNoFragments.graphql") { // gofmt on 1.13 formats this slightly differently. // TODO(benkraft): Vendor in a specific version of gofmt, // to use for all Go versions. (Maybe only for tests.) + t.Skip("skipping because go1.13 formats them differently") } for filename, content := range generated {