diff options
Diffstat (limited to 'test/functional/lib/rspamd.robot')
-rw-r--r-- | test/functional/lib/rspamd.robot | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/functional/lib/rspamd.robot b/test/functional/lib/rspamd.robot index fccf2e429..e310db4b5 100644 --- a/test/functional/lib/rspamd.robot +++ b/test/functional/lib/rspamd.robot @@ -46,7 +46,8 @@ Check Rspamc Match String Do Not Expect Symbol [Arguments] ${symbol} - Run Keyword And Expect Error * Expect Symbol ${symbol} + ${passed} = Run Keyword And Return Status Expect Symbol ${symbol} + Run Keyword If ${passed} Fail Unexpected symbol ${symbol} was found in result Generic Setup [Arguments] @{vargs} &{kwargs} |