<p>Oh, right, got mixed up trying various different things. With eg bare words (which is where I spotted this) both the true and false clauses report the error, but with unexpected end of expression the error message is missing (but it returns with exit code 1). I'll fix the test + commit message...</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/rpm-software-management/rpm/pull/847?email_source=notifications&email_token=ADLPZUZAEFY3QR7KFN72IXTQKNH2PA5CNFSM4IYJBPXKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7C72TY#issuecomment-533069135">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ADLPZU43BUWHO6UP63WOU7TQKNH2PANCNFSM4IYJBPXA">mute the thread</a>.<img src="https://github.com/notifications/beacon/ADLPZUZ4HDXB745HCXSEAUTQKNH2PA5CNFSM4IYJBPXKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7C72TY.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/rpm-software-management/rpm/pull/847?email_source=notifications\u0026email_token=ADLPZUZAEFY3QR7KFN72IXTQKNH2PA5CNFSM4IYJBPXKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7C72TY#issuecomment-533069135",
"url": "https://github.com/rpm-software-management/rpm/pull/847?email_source=notifications\u0026email_token=ADLPZUZAEFY3QR7KFN72IXTQKNH2PA5CNFSM4IYJBPXKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7C72TY#issuecomment-533069135",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>