Copyright © 2018 Oleg Pykhalov This patch fixes tests for Emacs 25. Upstream bug URL: https://github.com/gongo/json-reformat/issues/33 diff --git a/test/json-reformat-test.el b/test/json-reformat-test.el index 7de3be1..b4a4dde 100644 --- a/test/json-reformat-test.el +++ b/test/json-reformat-test.el @@ -58,7 +58,7 @@ (ert-deftest json-reformat-test:string-to-string () (should (string= "\"foobar\"" (json-reformat:string-to-string "foobar"))) (should (string= "\"fo\\\"o\\nbar\"" (json-reformat:string-to-string "fo\"o\nbar"))) - (should (string= "\"\\u2661\"" (json-reformat:string-to-string "\u2661"))) + (should (string= "\"♡\"" (json-reformat:string-to-string "\u2661"))) (should (string= "\"^(amq\\\\.gen.*|amq\\\\.default)$\"" (json-reformat:string-to-string "^(amq\\.gen.*|amq\\.default)$"))) ) @@ -148,6 +148,6 @@ bar\"" (json-reformat:string-to-string "fo\"o\nbar"))) [{ foo : \"bar\" }, { \"foo\" : \"baz\" }]") ;; At 3 (line) (json-reformat-region (point-min) (point-max))) (should (string= - "JSON parse error [Reason] Bad string format: \"doesn't start with '\\\"'!\" [Position] In buffer, line 3 (char 6)" + "JSON parse error [Reason] Bad string format: \"doesn't start with \`\\\"'!\" [Position] In buffer, line 3 (char 6)" message-string)) ))) -- 2.15.1 f='/guix/commit/gnu/packages/opencog.scm?id=c12cf2fb63bc2a5b0c5419a372ff6fff76a28a3b'>commitdiff
path: root/gnu/packages/opencog.scm
cm (show-help): Describe option. (order-packages): Add procedure. (format-whole-file): Add 'order?' argument. (%options): Add 'alphabetical-sort' option. (guix-style): Alphabetically order packages in files. * tests/guix-style.sh: Test alphabetical ordering. * doc/guix.texi (Invoking guix style): Document option. Change-Id: I4aa7c0bd0b6d42529ae7d304587ffb10bf5f4006 Signed-off-by: Ludovic Courtès <ludo@gnu.org> /span>
AgeCommit message (Collapse)Author
Herman Rimm
2023-04-21tests: Fix checks for expected failures....Addresses <https://issues.guix.gnu.org/62406>. With 'set -e', a return status inverted with '!' does not cause the shell to exit immediately. Instead use '&& false' to indicate an expected failure. * tests/guix-archive.sh, tests/guix-build-branch.sh, tests/guix-build.sh, tests/guix-daemon.sh, tests/guix-download.sh, tests/guix-environment-container.sh, tests/guix-environment.sh, tests/guix-gc.sh, tests/guix-git-authenticate.sh, tests/guix-graph.sh, tests/guix-hash.sh, tests/guix-home.sh, tests/guix-pack-relocatable.sh, tests/guix-pack.sh, tests/guix-package-aliases.sh, tests/guix-package-net.sh, tests/guix-package.sh, tests/guix-refresh.sh, tests/guix-shell.sh, tests/guix-style.sh, tests/guix-system.sh: Replace uses of '! ...' with '... && false' or `test ! ...` as appropriate. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Eric Bavier
Josselin Poiret
2023-11-14gnu: agda-stdlib: Update to 1.7.3....* gnu/packages/agda.scm (agda-stdlib): Update to 1.7.3. Change-Id: Ic941073814a6a2150d470fc05218dc8d19954445 Josselin Poiret
2023-11-14gnu: agda: Update to 2.6.4....* gnu/packages/agda.scm (agda): Update to 2.6.4. Also build with optimizations and cluster counting support. * gnu/packages/patches/agda-use-sphinx-5.patch: New patch. * gnu/local.mk (dist_patch_DATA): Register it. Change-Id: I98a66678ec401b9201d9fd3a0f606fff9767b4bc Josselin Poiret
2023-10-11gnu: agda-cubical: Add source file-name....* gnu/packages/agda.scm (agda-cubical)[source]: Add file-name field. Efraim Flashner