tests: fix typo in error message

This commit is contained in:
Craig Barnes 2022-02-07 12:32:23 +00:00
parent 3baf7de3b8
commit ff90781ebc

View file

@ -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);
} }
} }