From: Noah Lavine <noah.b.lavine@gmail.com>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: guile-devel@gnu.org
Subject: Re: problem with trailing comment in repl
Date: Mon, 14 Feb 2011 21:42:15 -0500 [thread overview]
Message-ID: <AANLkTimo0Gga7GPSECG1ysyZmLj3gEmgEdci_7qjehbh@mail.gmail.com> (raw)
In-Reply-To: <87sjvrkjvq.fsf@gnu.org>
Hello,
> Nice! Can you add a test case?
I've thought about it, and I'm not sure how to do it well. The trouble
is that this only applies to the REPL, not scripts. So a test would
have to wrap the REPL in something and make sure its output is right.
I might be able to do that, but if I just compared the output to the
string I expected, the test would fail if the output format changed at
all, which seems excessively fragile to me. And I'm not sure how to
test it otherwise, because the REPL catches exceptions, so I can't
just run the REPL and see if it throws one.
Could someone help me?
Thanks,
Noah
next prev parent reply other threads:[~2011-02-15 2:42 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-11 21:15 problem with trailing comment in repl Jose A. Ortega Ruiz
2011-02-12 12:34 ` Andy Wingo
2011-02-12 13:21 ` Jose A. Ortega Ruiz
2011-02-12 14:36 ` Andy Wingo
2011-02-13 15:22 ` Noah Lavine
2011-02-13 19:19 ` Andy Wingo
2011-02-13 21:27 ` Noah Lavine
2011-02-14 10:09 ` Ludovic Courtès
2011-02-15 2:42 ` Noah Lavine [this message]
2011-03-03 22:56 ` Andy Wingo
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
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=AANLkTimo0Gga7GPSECG1ysyZmLj3gEmgEdci_7qjehbh@mail.gmail.com \
--to=noah.b.lavine@gmail.com \
--cc=guile-devel@gnu.org \
--cc=ludo@gnu.org \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).