[dw-free] optimize viewing entries with large # of comments
[commit: http://hg.dwscoalition.org/dw-free/rev/5be268e0a765]
http://bugs.dwscoalition.org/show_bug.cgi?id=4315
Tweak test for new expected values (these extra parameters still cause an
error, just now a different one)
Patch by
fu.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=4315
Tweak test for new expected values (these extra parameters still cause an
error, just now a different one)
Patch by
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Files modified:
- t/comment.t
-------------------------------------------------------------------------------- diff -r 7c44db11e9d7 -r 5be268e0a765 t/comment.t --- a/t/comment.t Fri Feb 10 22:43:21 2012 +0800 +++ b/t/comment.t Tue Feb 14 21:49:52 2012 +0800 @@ -30,7 +30,7 @@ like($@, qr/need to supply jtalkid/, "need to supply jtalkid"); $c = eval { LJ::Comment->new($u, jtalkid => 1, foo => 1, bar => 2) }; - like($@, qr/unknown parameter/, "unknown parameters"); + like($@, qr/wrong number/, "wrong number of arguments (unknown parameters)"); } # post a comment --------------------------------------------------------------------------------