From: Dmitry Gutov <dgutov@yandex.ru>
To: "Simen Heggestøyl" <simenheg@gmail.com>, 21985@debbugs.gnu.org
Subject: bug#21985: 25.0.50; PATCH] Extend the test suite for json.el
Date: Mon, 23 Nov 2015 01:15:07 +0200 [thread overview]
Message-ID: <56524C7B.9010500@yandex.ru> (raw)
In-Reply-To: <1448227819.17458.0@smtp.gmail.com>
On 11/22/2015 11:30 PM, Simen Heggestøyl wrote:
> I was unsure how to best test `json-encode' without duplicating what
> the other tests (`test-json-encode-string',
> `test-json-encode-keyword', and so on) already do test.
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.
next prev parent reply other threads:[~2015-11-22 23:15 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-22 21:30 bug#21985: 25.0.50; PATCH] Extend the test suite for json.el Simen Heggestøyl
2015-11-22 23:15 ` Dmitry Gutov [this message]
2015-11-24 20:25 ` Simen Heggestøyl
2015-11-24 20:53 ` Dmitry Gutov
2015-11-24 22:16 ` Simen Heggestøyl
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=56524C7B.9010500@yandex.ru \
--to=dgutov@yandex.ru \
--cc=21985@debbugs.gnu.org \
--cc=simenheg@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.