GNU bug report logs - #21985
25.0.50; PATCH] Extend the test suite for json.el

Previous Next

Package: emacs;

Reported by: Simen Heggestøyl <simenheg <at> gmail.com>

Date: Sun, 22 Nov 2015 21:31:02 UTC

Severity: wishlist

Tags: patch

Found in version 25.0.50

Done: Simen Heggestøyl <simenheg <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Simen Heggestøyl <simenheg <at> gmail.com>
To: Dmitry Gutov <dgutov <at> yandex.ru>
Cc: 21985 <at> debbugs.gnu.org
Subject: bug#21985: 25.0.50; PATCH] Extend the test suite for json.el
Date: Tue, 24 Nov 2015 21:25:29 +0100
[Message part 1 (text/plain, inline)]
On Mon, Nov 23, 2015 at 12:15 AM, Dmitry Gutov <dgutov <at> yandex.ru> wrote:
> IMO, there's no too much need to exhaustively test `json-encode', 
> aside from one encode test (with any value), one decode test, and 
> maybe one try-to-encode-something-unusual-and-end-up-with-an-error 
> test.
> 
> Testing all contents of json-readtable would seem excessive to me. 
> But hey, if we miscalculate, we can add more tests as we fix 
> regressions, later.

Alright!

I've attached an updated patch.

-- Simen
[Message part 2 (text/html, inline)]
[0001-Extend-the-test-suite-for-json.el.patch (text/x-patch, attachment)]

This bug report was last modified 9 years and 182 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.