[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: help needed with (test-suite lib)
From: |
Alex Kost |
Subject: |
Re: help needed with (test-suite lib) |
Date: |
Sun, 13 Mar 2016 13:53:54 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Matt Wette (2016-03-10 05:08 +0300) wrote:
> I am using test-suite/lib.scm from guile-2.0.11.
>
>
> Can anyone explain why I am getting “UNRESOLVED” below? I am
> expecting “PASS”. What am I missing?
It shouldn't be a lambda (see below).
> mwette$ guile
>
> GNU Guile 2.0.11
>
> Copyright (C) 1995-2014 Free Software Foundation, Inc.
>
>
> Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
>
> This program is free software, and you are welcome to redistribute it
>
> under certain conditions; type `,show c' for details.
>
>
> Enter `,help' for help.
>
> scheme@(guile-user)> (use-modules (test-suite lib))
>
> scheme@(guile-user)> (pass-if "demo" (lambda () #t))
>
> UNRESOLVED: demo
Try (pass-if "demo" #t)
I know it because I found:
(pass-if "simple addition" (= 4 (+ 2 2)))
in the commentary of ".../test-suite/lib.scm".
--
Alex