[Rt-commit] rt branch, 4.0/rfc2231-param-continuations, updated. rt-4.0.4-122-g7222847
Alex Vandiver
alexmv at bestpractical.com
Tue Mar 13 16:34:02 EDT 2012
The branch, 4.0/rfc2231-param-continuations has been updated
via 7222847f3cbade698d44d6947fdd52af9580e8a6 (commit)
from 5a8398e1cb86552b650d57dd2f3dc4bc2d5ccdb6 (commit)
Summary of changes:
t/mail/specials-in-encodedwords.t | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
- Log -----------------------------------------------------------------
commit 7222847f3cbade698d44d6947fdd52af9580e8a6
Author: Alex Vandiver <alexmv at bestpractical.com>
Date: Tue Mar 13 16:11:50 2012 -0400
Prevent "Useless use of string in void context" by grouping ok() parameters
diff --git a/t/mail/specials-in-encodedwords.t b/t/mail/specials-in-encodedwords.t
index 4712386..f9da9c6 100644
--- a/t/mail/specials-in-encodedwords.t
+++ b/t/mail/specials-in-encodedwords.t
@@ -31,7 +31,8 @@ here's some content
my @cc = @{$ticket->Cc->UserMembersObj->ItemsArrayRef};
is scalar @cc, 3, "three ccs";
for my $addr (qw(a b c)) {
- ok (scalar grep { $_->EmailAddress eq "$addr\@example.com" } @cc), "found $addr";
+ ok( (scalar grep { $_->EmailAddress eq "$addr\@example.com" } @cc),
+ "found $addr" );
}
}
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list