Skip to content
Snippets Groups Projects
Commit 71fa5a02 authored by Stephan Bosch's avatar Stephan Bosch
Browse files

Corrected error message.

parent 6564cc41
No related branches found
No related tags found
No related merge requests found
...@@ -879,7 +879,7 @@ static bool sieve_validate_command_subtests ...@@ -879,7 +879,7 @@ static bool sieve_validate_command_subtests
switch ( ctype ) { switch ( ctype ) {
case SCT_TEST: case SCT_TEST:
sieve_command_validate_error(valdtr, cmd, sieve_command_validate_error(valdtr, cmd,
"the %s %s accepts no sub-tests, but one is specified anyway", "the %s %s accepts no sub-tests, but tests are specified",
cmd->command->identifier, sieve_command_type_name(cmd->command)); cmd->command->identifier, sieve_command_type_name(cmd->command));
break; break;
case SCT_NONE: case SCT_NONE:
......
...@@ -80,7 +80,7 @@ test "Header errors" { ...@@ -80,7 +80,7 @@ test "Header errors" {
} }
if not test_error :index 7 :matches if not test_error :index 7 :matches
"*header test accepts no sub-tests* is specified*" { "*header test accepts no sub-tests* specified*" {
test_fail "error 7 is invalid"; test_fail "error 7 is invalid";
} }
...@@ -332,7 +332,7 @@ test "Typos" { ...@@ -332,7 +332,7 @@ test "Typos" {
} }
if not test_error :index 2 :matches if not test_error :index 2 :matches
"*fileinto command * no *tests* one is specified*" { "*fileinto command * no *tests* specified*" {
test_fail "error 2 is invalid"; test_fail "error 2 is invalid";
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment

Consent

On this website, we use the web analytics service Matomo to analyze and review the use of our website. Through the collected statistics, we can improve our offerings and make them more appealing for you. Here, you can decide whether to allow us to process your data and set corresponding cookies for these purposes, in addition to technically necessary cookies. Further information on data protection—especially regarding "cookies" and "Matomo"—can be found in our privacy policy. You can withdraw your consent at any time.