Skip to content

Commit

Permalink
Update tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
yunosh committed May 5, 2014
1 parent cbe5aca commit 2994f32
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ingo/test/Ingo/Unit/SieveTest.php
Expand Up @@ -88,9 +88,9 @@ public function testBlacklistMarker()

$this->_assertScript('require "imap4flags";
if address :all :comparator "i;ascii-casemap" :is ["From", "Sender", "Resent-From"] "spammer@example.com" {
addflag "\\\\Deleted";
addflag ["\\\\Deleted"];
keep;
removeflag "\\\\Deleted";
removeflag ["\\\\Deleted"];
stop;
}');
}
Expand Down Expand Up @@ -132,7 +132,7 @@ public function testVacationEnabled()
$this->_enableRule(Ingo_Storage::ACTION_VACATION);

$this->_assertScript('require ["vacation", "regex"];
if allof ( not exists ["list-help", "list-unsubscribe", "list-subscribe", "list-owner", "list-post", "list-archive", "list-id", "Mailing-List"], not header :comparator "i;ascii-casemap" :is "Precedence" ["list", "bulk", "junk"], not header :comparator "i;ascii-casemap" :matches "To" "Multiple recipients of*" ) {
if allof ( not exists "list-help", not exists "list-unsubscribe", not exists "list-subscribe", not exists "list-owner", not exists "list-post", not exists "list-archive", not exists "list-id", not exists "Mailing-List", not header :comparator "i;ascii-casemap" :is "Precedence" ["list", "bulk", "junk"], not header :comparator "i;ascii-casemap" :matches "To" "Multiple recipients of*" ) {
vacation :days 7 :addresses "from@example.com" :subject "Subject" "Because I don\'t like working!";
}');
}
Expand Down

0 comments on commit 2994f32

Please sign in to comment.