branch: externals/graphql
commit 0756399fc95c0cab77ac214eff3ff7f8bea2d5fe
Author: Sean Allred <c...@seanallred.com>
Commit: Sean Allred <c...@seanallred.com>

    Test unnamed query
---
 test/graphql-test.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/test/graphql-test.el b/test/graphql-test.el
index 1a153bf3f6..b18283727a 100644
--- a/test/graphql-test.el
+++ b/test/graphql-test.el
@@ -46,6 +46,8 @@
                    
"addReaction(input:{subjectId:\"MDU6SXNzdWUxNzc2MzA3Mjk=\",content:HOORAY})")))
 
 (ert-deftest encode-query ()
+  (should (string= (graphql-query (repository))
+                   "query{repository}"))
   (should (string= (graphql-query (test)
                                   (repository))
                    "query test{repository}"))

Reply via email to