summaryrefslogtreecommitdiff
path: root/tests/Test/StarWars/Schema.hs
diff options
context:
space:
mode:
authorPweaver (Paul Weaver) <paul@mordor.org>2016-07-08 17:50:31 -0400
committerPweaver (Paul Weaver) <paul@mordor.org>2016-07-08 18:10:14 -0400
commita6c0d63049044b825d1fd0efe6023de82cb11766 (patch)
tree734cf040459e16184e2eae5a4beafc293c255ff7 /tests/Test/StarWars/Schema.hs
parent624efbbb35c7c416c4562fa22949c49a1359253d (diff)
downloadgraphql-a6c0d63049044b825d1fd0efe6023de82cb11766.tar.gz
add tests for errors in queries for queries in starwars tests
Diffstat (limited to 'tests/Test/StarWars/Schema.hs')
-rw-r--r--tests/Test/StarWars/Schema.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/Test/StarWars/Schema.hs b/tests/Test/StarWars/Schema.hs
index 096ccb3..9021bd0 100644
--- a/tests/Test/StarWars/Schema.hs
+++ b/tests/Test/StarWars/Schema.hs
@@ -42,4 +42,5 @@ character char =
, Schema.scalar "name" $ name char
, Schema.array "friends" $ character <$> getFriends char
, Schema.enum "appearsIn" . traverse getEpisode $ appearsIn char
+ , Schema.scalar "secretBackstory" $ secretBackstory char
]