diff options
author | Oleg Pykhalov <go.wigust@gmail.com> | 2019-03-10 00:10:51 +0300 |
---|---|---|
committer | Oleg Pykhalov <go.wigust@gmail.com> | 2019-03-11 19:52:39 +0300 |
commit | 34e3d028b9d180535108432a46b9569be6ab4dc5 (patch) | |
tree | a3b6abfb7e9b711124bf33ca88c24cdb1111eba7 | |
parent | 4948c23677be81c8ca061aadd37ba6537aa51c2c (diff) | |
download | guix-34e3d028b9d180535108432a46b9569be6ab4dc5.tar.gz |
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.
-rw-r--r-- | gnu/packages/emacs-xyz.scm | 16 |
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 |