aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/emacs-xyz.scm
diff options
context:
space:
mode:
authorOleg Pykhalov <go.wigust@gmail.com>2019-03-10 00:10:51 +0300
committerOleg Pykhalov <go.wigust@gmail.com>2019-03-11 19:52:39 +0300
commit34e3d028b9d180535108432a46b9569be6ab4dc5 (patch)
treea3b6abfb7e9b711124bf33ca88c24cdb1111eba7 /gnu/packages/emacs-xyz.scm
parent4948c23677be81c8ca061aadd37ba6537aa51c2c (diff)
downloadguix-34e3d028b9d180535108432a46b9569be6ab4dc5.tar.gz
guix-34e3d028b9d180535108432a46b9569be6ab4dc5.zip
gnu: emacs-json-reformat: Fix test.
This patch deletes a test which tries to compare JSON objects order. * gnu/packages/emacs-xyz.scm (emacs-json-reformat): Delete 'json-reformat-test:json-reformat-region' test.
Diffstat (limited to 'gnu/packages/emacs-xyz.scm')
-rw-r--r--gnu/packages/emacs-xyz.scm16
1 files changed, 14 insertions, 2 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 30248f673a..b359777923 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -26,7 +26,7 @@
;;; Copyright © 2017 George Clemmer <myglc2@gmail.com>
;;; Copyright © 2017, 2018 Feng Shu <tumashu@163.com>
;;; Copyright © 2017 Jan Nieuwenhuizen <janneke@gnu.org>
-;;; Copyright © 2017, 2018 Oleg Pykhalov <go.wigust@gmail.com>
+;;; Copyright © 2017, 2018, 2019 Oleg Pykhalov <go.wigust@gmail.com>
;;; Copyright © 2017 Mekeor Melire <mekeor.melire@gmail.com>
;;; Copyright © 2017 Peter Mikkelsen <petermikkelsen10@gmail.com>
;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice <me@tobias.gr>
@@ -7032,7 +7032,19 @@ running a customisable handler command (@code{ignore} by default). ")
("ert-runner" ,emacs-ert-runner)))
(arguments
`(#:tests? #t
- #:test-command '("ert-runner")))
+ #:test-command '("ert-runner")
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'check 'delete-json-objects-order-test
+ (lambda _
+ (emacs-batch-edit-file "test/json-reformat-test.el"
+ `(progn (progn (goto-char (point-min))
+ (re-search-forward
+ "ert-deftest json-reformat-test:json-reformat-region")
+ (beginning-of-line)
+ (kill-sexp))
+ (basic-save-buffer)))
+ #t)))))
(home-page "https://github.com/gongo/json-reformat")
(synopsis "Reformatting tool for JSON")
(description "@code{json-reformat} provides a reformatting tool for