From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Olivier Dion Newsgroups: gmane.lisp.guile.user Subject: Re: srfi64 test group Date: Thu, 17 Aug 2023 10:56:06 -0400 Message-ID: <877cptwwe1.fsf@laura> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18375"; mail-complaints-to="usenet@ciao.gmane.io" To: =?utf-8?Q?J=C3=A9r=C3=A9my_Korwin-Zmijowski=2Efr?= , Mailing list Guile User Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Thu Aug 17 16:57:01 2023 Return-path: Envelope-to: guile-user@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 1qWeQl-0004S4-Tq for guile-user@m.gmane-mx.org; Thu, 17 Aug 2023 16:56:59 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qWeQC-0006EL-Eb; Thu, 17 Aug 2023 10:56:24 -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 1qWeQ8-00069r-Jd for guile-user@gnu.org; Thu, 17 Aug 2023 10:56:21 -0400 Original-Received: from smtp.polymtl.ca ([132.207.4.11]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qWeQ6-0003jv-CR for guile-user@gnu.org; Thu, 17 Aug 2023 10:56:20 -0400 Original-Received: from localhost (modemcable094.169-200-24.mc.videotron.ca [24.200.169.94]) by smtp.polymtl.ca (8.14.7/8.14.7) with ESMTP id 37HEu6Pq017048; Thu, 17 Aug 2023 10:56:11 -0400 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp.polymtl.ca 37HEu6Pq017048 In-Reply-To: X-Poly-FromMTA: (modemcable094.169-200-24.mc.videotron.ca [24.200.169.94]) at Thu, 17 Aug 2023 14:56:06 +0000 Received-SPF: pass client-ip=132.207.4.11; envelope-from=olivier.dion@polymtl.ca; helo=smtp.polymtl.ca X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.lisp.guile.user:19173 Archived-At: On Thu, 17 Aug 2023, J=C3=A9r=C3=A9my Korwin-Zmijowski.fr wrote: > Hello Guilers, > > As I understand, a test-group form should work as follow: > > (use-module (srfi srfi-64)) > (test-group "foo" (test-assert #t)) > > But evaluating the previous expressions raises an exception. IIRC, test-group must be in between a test-begin/test-end pair forms? --8<---------------cut here---------------start------------->8--- (use-modules (srfi srfi-64)) (test-begin "bar") (test-group "foo" (test-assert #t)) (test-end "bar") --8<---------------cut here---------------end--------------->8--- --=20 Olivier Dion oldiob.dev