channels: Fix test for introductory commit signer.
authorLudovic Courtès <ludo@gnu.org>
Wed, 24 Jun 2020 12:48:07 +0000 (14:48 +0200)
committerLudovic Courtès <ludo@gnu.org>
Wed, 24 Jun 2020 23:20:31 +0000 (01:20 +0200)
commita18d02def9862dfb9b7a5e3d5aa3b541b066d198
tree9c9667226fd65c55f30dcb798590be7a894a0d4d
parent1ad332b367347bbd91f8a4527e271945f2c45ae6
channels: Fix test for introductory commit signer.

Until now the test would always succeed because it would return
'failed, which has truth value.  The exercise
'verify-introductory-commit', we need to add a second commit beyond the
introductory commit, which is what we do here.

* tests/channels.scm ("authenticate-channel, wrong first commit
signer"): Add a second commit and authenticate up to that one.  Change
'message?' to 'message-condition?'.
tests/channels.scm