148
148
if not body :content "" :matches "keep;*" {
149
149
test_fail "failed to match application/sieve content";
152
152
if body :content "" :matches "*blurdybloop*" {
153
153
test_fail "body :content \"\" test matches nonsense";
157
157
test "Main Content Type" {
158
158
if not body :content "text" :matches "This is a text message.*" {
159
159
test_fail "failed to match text/plain content";
162
162
if not body :content "text" :matches "<html><body>This is HTML</body></html>*" {
163
163
test_fail "failed to match text/html content";