unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: Olivier Dion <olivier.dion@polymtl.ca>
To: "Jérémy Korwin-Zmijowski.fr" <jeremy@korwin-zmijowski.fr>,
	"Mailing list Guile User" <guile-user@gnu.org>
Subject: Re: srfi64 test group
Date: Thu, 17 Aug 2023 10:56:06 -0400	[thread overview]
Message-ID: <877cptwwe1.fsf@laura> (raw)
In-Reply-To: <B6A0F3FD-37AF-4B83-BA9E-6187972BCB3A@korwin-zmijowski.fr>

On Thu, 17 Aug 2023, Jérémy Korwin-Zmijowski.fr <jeremy@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---

-- 
Olivier Dion
oldiob.dev



      reply	other threads:[~2023-08-17 14:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-17 13:54 srfi64 test group Jérémy Korwin-Zmijowski.fr
2023-08-17 14:56 ` Olivier Dion [this message]

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=877cptwwe1.fsf@laura \
    --to=olivier.dion@polymtl.ca \
    --cc=guile-user@gnu.org \
    --cc=jeremy@korwin-zmijowski.fr \
    /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).