Selftester.expectTail

Yields and waits for a response from the other bot, then throws if the message tail does not match that of the passed string.

struct Selftester
void
expectTail
(
const string tokenedExpected
,
const string file = __FILE__
,
const size_t line = __LINE__
)

Parameters

tokenedExpected string

The expected tail, which may include some replace-tokens.

file string

The file the test is in.

line size_t

The line the test is on.