mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
tests: fix typo in error message
This commit is contained in:
parent
3baf7de3b8
commit
ff90781ebc
1 changed files with 1 additions and 1 deletions
|
|
@ -360,7 +360,7 @@ test_enum(struct context *ctx, bool (*parse_fun)(struct context *ctx),
|
||||||
|
|
||||||
ctx->value = "invalid-enum-value";
|
ctx->value = "invalid-enum-value";
|
||||||
if (parse_fun(ctx)) {
|
if (parse_fun(ctx)) {
|
||||||
BUG("[%s].%s=%s: did not fail to parse as expeced",
|
BUG("[%s].%s=%s: did not fail to parse as expected",
|
||||||
ctx->section, ctx->key, ctx->value);
|
ctx->section, ctx->key, ctx->value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue