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/diff/tests/openpgp.scm?id=f7373261e918b9601ae9f18db770fb0b0ac3999c'>diff
path: root/tests/openpgp.scm
AgeCommit message (Expand)Author
2021-12-22tests: Move keys into ./tests/keys/ and add a third ed25519 key....Attila Lendvai
2020-09-29openpgp: Fix argument order of 'fxbit-set?'....Lars-Dominik Braun
2020-05-04openpgp: Add 'string->openpgp-packet'....Ludovic Courtès
2020-05-04openpgp: 'lookup-key-by-{id,fingerprint}' return the key first....Ludovic Courtès
2020-05-04openpgp: 'verify-openpgp-signature' looks up by fingerprint when possible....Ludovic Courtès
2020-05-04openpgp: Add 'lookup-key-by-fingerprint'....Ludovic Courtès
2020-05-04openpgp: Store the issuer key id and fingerprint in <openpgp-signature>....Ludovic Courtès
2020-05-04openpgp: Decode the issuer-fingerprint signature subpacket....Ludovic Courtès
2020-05-04Add (guix openpgp)....Ludovic Courtès