Skip to content
This repository has been archived by the owner on Nov 8, 2017. It is now read-only.

Commit

Permalink
mv language related code to language dir
Browse files Browse the repository at this point in the history
  • Loading branch information
lenaten committed Oct 29, 2015
1 parent 83bc460 commit dd3a99a
Show file tree
Hide file tree
Showing 59 changed files with 2,407 additions and 2,256 deletions.
15 changes: 9 additions & 6 deletions abstract_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ package graphql
import (
"reflect"
"testing"

"github.com/chris-ramon/graphql/gqlerrors"
"github.com/chris-ramon/graphql/language/location"
)

type testDog struct {
Expand Down Expand Up @@ -438,10 +441,10 @@ func TestResolveTypeOnInterfaceYieldsUsefulError(t *testing.T) {
nil,
},
},
Errors: []FormattedError{
FormattedError{
Errors: []gqlerrors.FormattedError{
gqlerrors.FormattedError{
Message: `Runtime Object type "Human" is not a possible type for "Pet".`,
Locations: []SourceLocation{},
Locations: []location.SourceLocation{},
},
},
}
Expand Down Expand Up @@ -596,10 +599,10 @@ func TestResolveTypeOnUnionYieldsUsefulError(t *testing.T) {
nil,
},
},
Errors: []FormattedError{
FormattedError{
Errors: []gqlerrors.FormattedError{
gqlerrors.FormattedError{
Message: `Runtime Object type "Human" is not a possible type for "Pet".`,
Locations: []SourceLocation{},
Locations: []location.SourceLocation{},
},
},
}
Expand Down
33 changes: 0 additions & 33 deletions ast_arguments.go

This file was deleted.

153 changes: 0 additions & 153 deletions ast_definitions.go

This file was deleted.

33 changes: 0 additions & 33 deletions ast_directives.go

This file was deleted.

31 changes: 0 additions & 31 deletions ast_document.go

This file was deleted.

18 changes: 0 additions & 18 deletions ast_location.go

This file was deleted.

31 changes: 0 additions & 31 deletions ast_name.go

This file was deleted.

45 changes: 0 additions & 45 deletions ast_node.go

This file was deleted.

Loading

0 comments on commit dd3a99a

Please sign in to comment.