mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 18:32:23 +00:00
13 lines
263 B
Go
13 lines
263 B
Go
package ethgraphql
|
|
|
|
import (
|
|
"testing"
|
|
)
|
|
|
|
func TestBuildSchema(t *testing.T) {
|
|
// Make sure the schema can be parsed and matched up to the object model.
|
|
_, err := NewHandler(nil)
|
|
if err != nil {
|
|
t.Errorf("Could not construct GraphQL handler: %v", err)
|
|
}
|
|
}
|