* tests: X-Label tags are space-separated, X-Keywords are comma-separated

This commit is contained in:
djcb
2012-08-09 10:33:56 +03:00
parent 6d91589791
commit 7b13676f3c
3 changed files with 7 additions and 4 deletions

View File

@ -4,7 +4,8 @@ Subject: Fere libenter homines id quod volunt credunt
To: "Julius Caesar" <jc@example.com>
Message-id: <3BE9E6535E3029448670913581E7A1A20D852173@emss35m06.us.lmco.com>
MIME-version: 1.0
x-label: Paradise, losT
x-label: Paradise losT
X-Keywords: milton,john
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
Precedence: high

View File

@ -4,7 +4,7 @@ Subject: eyes of a stranger
To: "Enrico Fermi" <enrico@example.com>
Message-id: <3BE9E6535E302944823E7A1A20D852173@msg.id>
MIME-version: 1.0
X-label: @NextActions, operation:mindcrime, Queensrÿche
X-label: @NextActions operation:mindcrime Queensrÿche
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
Precedence: high

View File

@ -492,7 +492,8 @@ test_mu_query_tags (void)
};
for (i = 0; i != G_N_ELEMENTS(queries); ++i)
g_assert_cmpuint (run_and_count_matches (DB_PATH2, queries[i].query),
g_assert_cmpuint (run_and_count_matches (DB_PATH2,
queries[i].query),
==, queries[i].count);
}
@ -507,7 +508,8 @@ test_mu_query_signed_encrypted (void)
};
for (i = 0; i != G_N_ELEMENTS(queries); ++i)
g_assert_cmpuint (run_and_count_matches (DB_PATH1, queries[i].query),
g_assert_cmpuint (run_and_count_matches (DB_PATH1,
queries[i].query),
==, queries[i].count);
}