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

    Fix version check
---
 test/graphql-test.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/graphql-test.el b/test/graphql-test.el
index 5145cc036f..c540989911 100644
--- a/test/graphql-test.el
+++ b/test/graphql-test.el
@@ -16,7 +16,7 @@
          (package-buffer-info)))
       (with-temp-buffer
         (when (= 0 (call-process "git" nil t nil "describe" "--tags"))
-          (version-to-list (car (split-string (buffer-string) "-")))))))))
+          (version-to-list (car (split-string (string-trim (buffer-string)) 
"-")))))))))
 
 (ert-deftest encode-basic ()
   (should (string= (graphql-encode

Reply via email to