From: Gregory Marton <gremio@csail.mit.edu>
To: bug-guile@gnu.org
Subject: A passing test case
Date: Fri, 25 Jan 2008 20:19:23 -0500 (EST) [thread overview]
Message-ID: <Pine.LNX.4.62.0801252010130.14358@ashmore.csail.mit.edu> (raw)
[-- Attachment #1: Type: TEXT/PLAIN, Size: 669 bytes --]
Hi folks,
I just wanted to send in a test case for a bug that is fixed as of guile
1.8.2, but recently bit me, and it's just not that obvious to test for. It
is essentially exposed in 1.8.1 by
(let ((x 1/2))
(display x)
(equal? x 1/2)) ===> #f !
Thanks for being so responsive to all these issues. I greatly appreciate
the help.
Best wishes,
Grem
--
------ __@ Gregory A. Marton http://csail.mit.edu/~gremio/
--- _`\<,_ .
-- (*)/ (*) Angels fly for they take themselves lightly.
~~~~~~~~~~~~~~~~-~~~~~~~~_~~~_~~~~~v~~~~^^^^~~~~~--~~~~~~~~~~~~~~~++~~~~~~~
[-- Attachment #2: Type: TEXT/plain, Size: 391 bytes --]
--- test-suite/tests/fractions.test.1.8.3 2008-01-25 20:08:57.000000000 -0500
+++ test-suite/tests/fractions.test 2008-01-25 20:09:07.000000000 -0500
@@ -400,3 +400,8 @@
(with-test-prefix "fraction generics"
(testeq (G 1) 'integer)
(testeq (G 2/3) 'fraction))
+
+(pass-if (let ((x (/ 1 2)))
+ (with-output-to-string (lambda () (display x)))
+ (equal? x (/ 1 2))))
+
next reply other threads:[~2008-01-26 1:19 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-26 1:19 Gregory Marton [this message]
2008-01-26 13:19 ` A passing test case Neil Jerram
2008-01-26 14:28 ` Gregory Marton
2008-01-26 18:58 ` Neil Jerram
2008-01-26 19:09 ` Gregory Marton
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=Pine.LNX.4.62.0801252010130.14358@ashmore.csail.mit.edu \
--to=gremio@csail.mit.edu \
--cc=bug-guile@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).