Issue #1792378 by mradcliffe: Change assertion to match list option validation message, which was changed in core.