chore(testing-framework): clearer triplet error message (#675)

* chore(testing-framework): clearer triplet error message

ATM service ID has to be a static string; make it more explicit in the
error message.
This commit is contained in:
Ivan Boldyrev 2023-08-16 17:39:57 +07:00 committed by GitHub
parent f3b00eafd1
commit 681ec35d07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -239,7 +239,10 @@ fn parse_sexp_call_triplet(inp: Input<'_>) -> IResult<Input<'_>, Box<Triplet>, P
delimited(
delim_ws(tag("(")),
separated_pair(
context("triplet service name", parse_sexp_string),
context(
"triplet service name has to be a string literal",
parse_sexp_string,
),
sexp_multispace0,
context("triplet function name", parse_sexp),
),