From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Tomas Volf <~@wolfsden.cz> Newsgroups: gmane.lisp.guile.bugs Subject: bug#72154: test-error does not work Date: Wed, 17 Jul 2024 12:22:54 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="E1uBHPdOivgxNk9G" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14686"; mail-complaints-to="usenet@ciao.gmane.io" To: 72154@debbugs.gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Wed Jul 17 12:24:14 2024 Return-path: Envelope-to: guile-bugs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sU1pW-0003eC-0A for guile-bugs@m.gmane-mx.org; Wed, 17 Jul 2024 12:24:14 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sU1pI-0003RS-SJ; Wed, 17 Jul 2024 06:24:01 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sU1pH-0003NJ-51 for bug-guile@gnu.org; Wed, 17 Jul 2024 06:23:59 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sU1pG-0004vE-Sh for bug-guile@gnu.org; Wed, 17 Jul 2024 06:23:58 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sU1pJ-0002Bt-Qj for bug-guile@gnu.org; Wed, 17 Jul 2024 06:24:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Tomas Volf <~@wolfsden.cz> Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Wed, 17 Jul 2024 10:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 72154 X-GNU-PR-Package: guile X-Debbugs-Original-To: bug-guile@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.17212117878357 (code B ref -1); Wed, 17 Jul 2024 10:24:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 17 Jul 2024 10:23:07 +0000 Original-Received: from localhost ([127.0.0.1]:35135 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sU1oQ-0002Aj-N3 for submit@debbugs.gnu.org; Wed, 17 Jul 2024 06:23:06 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:49472) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <~@wolfsden.cz>) id 1sU1oO-0002AQ-W1 for submit@debbugs.gnu.org; Wed, 17 Jul 2024 06:23:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <~@wolfsden.cz>) id 1sU1oK-0003IN-Ow for bug-guile@gnu.org; Wed, 17 Jul 2024 06:23:01 -0400 Original-Received: from wolfsden.cz ([37.205.8.62]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <~@wolfsden.cz>) id 1sU1oI-0004eT-EI for bug-guile@gnu.org; Wed, 17 Jul 2024 06:23:00 -0400 Original-Received: by wolfsden.cz (Postfix, from userid 104) id A760424E704; Wed, 17 Jul 2024 10:22:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1721211775; bh=f2GYrn0ZUaiv9nfXSz81TAKzlLzfPZ26LqxSb9fb1G0=; h=Date:From:To:Subject; b=K1AOKqT3SdolPPZgHzccXTaCBCzzWhzUdXXF7aip3cHdzOY8Bze9/IUYp5JWNVrds NkTWKxYvaDoD/JOcfDOCkIUsjTwweGrggJznahwGvkRz+Zwktbo03NMK1Cgv76XfpT 3bAZLtAHbdjsMjuUFdLgM9+YWGDklICPzk7e1GjMWfajt0hUUkLR4KnaqIVVnhrVnW bYcSb7AvsudD7OlzxqoH/WwRPnFYgFU6FAY0MgraQNrxg5g9xr6xOzaHvprLwVERmb JBmxW/SWWOom09fxyzwCHyjvMCK/5lOssSV9zWT8YVDT3O7US2wkNXAG7xQsFY/EjD QSsRvyqClTVQHxSEWQgvbhl7ztag4+oDC2Ke58xYjxpxxcweV+8VdZREWaPVFBmIcM PIqa++s18eT/TXDMrt9KIAaiIM9q62buFbqHyUjngmbEAGHamuxMzX+7mCpBP+0QxF PVRuNisU+j6+PKqTwgi9D/oJ/00zqmXqhyIjN9qs2xQYAhs4pOLQSGDuy24Gs+K9i+ CsPUq1jZwBPNjubm24DvHiYKqsYSYo9/IQuyHQcWcl+fNnL6cZ60x2a3Cxw5quoDIC rvIpZRlbdJwbqVzBm2DXVST162M9i2IfZ947lvXz2tn/XqfXLYj1vZrSklJy5LQSlB 6LMiJdQBUI+jWBXW/uLKS6uk= Original-Received: from localhost (unknown [81.17.16.91]) by wolfsden.cz (Postfix) with ESMTPSA id 3EEC624E703 for ; Wed, 17 Jul 2024 10:22:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1721211775; bh=f2GYrn0ZUaiv9nfXSz81TAKzlLzfPZ26LqxSb9fb1G0=; h=Date:From:To:Subject; b=K1AOKqT3SdolPPZgHzccXTaCBCzzWhzUdXXF7aip3cHdzOY8Bze9/IUYp5JWNVrds NkTWKxYvaDoD/JOcfDOCkIUsjTwweGrggJznahwGvkRz+Zwktbo03NMK1Cgv76XfpT 3bAZLtAHbdjsMjuUFdLgM9+YWGDklICPzk7e1GjMWfajt0hUUkLR4KnaqIVVnhrVnW bYcSb7AvsudD7OlzxqoH/WwRPnFYgFU6FAY0MgraQNrxg5g9xr6xOzaHvprLwVERmb JBmxW/SWWOom09fxyzwCHyjvMCK/5lOssSV9zWT8YVDT3O7US2wkNXAG7xQsFY/EjD QSsRvyqClTVQHxSEWQgvbhl7ztag4+oDC2Ke58xYjxpxxcweV+8VdZREWaPVFBmIcM PIqa++s18eT/TXDMrt9KIAaiIM9q62buFbqHyUjngmbEAGHamuxMzX+7mCpBP+0QxF PVRuNisU+j6+PKqTwgi9D/oJ/00zqmXqhyIjN9qs2xQYAhs4pOLQSGDuy24Gs+K9i+ CsPUq1jZwBPNjubm24DvHiYKqsYSYo9/IQuyHQcWcl+fNnL6cZ60x2a3Cxw5quoDIC rvIpZRlbdJwbqVzBm2DXVST162M9i2IfZ947lvXz2tn/XqfXLYj1vZrSklJy5LQSlB 6LMiJdQBUI+jWBXW/uLKS6uk= Content-Disposition: inline Received-SPF: pass client-ip=37.205.8.62; envelope-from=~@wolfsden.cz; helo=wolfsden.cz X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Original-Sender: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.lisp.guile.bugs:10904 Archived-At: --E1uBHPdOivgxNk9G Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, currently the test-error does not seem to work: (test-error "should throw" 'foo (throw 'bar)) results in test-name: should throw location: test.scm:191 source: + (test-error "should throw" 'foo (throw 'bar)) expected-error: + foo actual-error: + (bar) result: PASS According to feedback from mastodon it is not really implemented. That does not seem to be documented. Maybe it would be better to just not export it? Or it should throw 'not-implemented instead of just passing? Have a nice day, Tomas -- There are only two hard things in Computer Science: cache invalidation, naming things and off-by-one errors. --E1uBHPdOivgxNk9G Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEt4NJs4wUfTYpiGikL7/ufbZ/wakFAmaXm34ACgkQL7/ufbZ/ wanoShAAoWTB1C30A0d0gt+CiU/HqNCmZ2bwx6kNUfelASMSl+vgY6/mv3687J3l NGGnt0brNTfr2tShgPMMnHVuD+K+YXFdX655QmjQo/eqxU7DN+gOXeDZKN4ENfzB FD+N8p6xidH3d96/2Ow72q2rrLtO6vf0Ly7ADxDUfahRP9O+Vw0iA0gsNuqrQt03 /WN6iZpKz5m4/7Ozz0V38xD9kKQA67Wq+Mn8T4mzccfPJrwFrHFQJuLy8OpkTcBQ O2O880prwdS3f3vpowaZlqI3bk9xpbuRSzuGqvu3dEqR/r3g4CRC9rJ7ZqLoaFz6 N0BPQ7b0FiSKThQMiWIojreOTisQT2WC0z432gJcFVAT7POcWjpH6a49W0qYlWfN GlbDYAKTxxoz6Zq3eUcgTGYquz2FA6dC7sfOlx6rbn4Crn2SZF/v+1tExGkrBDFR V8mJ7KBqys+G8/IvxgSnrgvKnEpX+ybxEoB5qMSAgNNngecDd0QCbHHXbuBkaGiT Q29c72Dflma6K6TB3iS+MYr4kw0GsLDsa/NlBV4f4UT8kzLDiUiRJZqS++NDKL30 femfs+6SmcGUF9uWWwp3YSjlXFGZkQLRPBhZR5RjquGGZld0bBUqNcaGVn2rem4E k2cLMZ5WMu+dDKFF7s/p1U5F3g4ashDrzEBVOLZzA9k/SG8fWEA= =Q82h -----END PGP SIGNATURE----- --E1uBHPdOivgxNk9G--