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