diff options
author | Jonathan "Duke" Leto <jonathan@leto.net> | 2011-02-15 14:18:37 -0800 |
---|---|---|
committer | Jonathan "Duke" Leto <jonathan@leto.net> | 2011-02-15 14:18:37 -0800 |
commit | b81fd244c274eab2f19aa5c8cda7edc133104044 (patch) | |
tree | 7e0e13801018a0be810e68ac1a70c93b312a4d7d /t | |
parent | return empty list if project is not defined (diff) | |
download | jitterbug-b81fd244c274eab2f19aa5c8cda7edc133104044.tar.gz |
Only put the short commit message in email subjects
The full commit message will still be in the body of the email.
Diffstat (limited to '')
-rw-r--r-- | t/006_emailer.t | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/t/006_emailer.t b/t/006_emailer.t index 297644c..a13d5a4 100644 --- a/t/006_emailer.t +++ b/t/006_emailer.t @@ -23,7 +23,7 @@ sub setup { $project->mock('name', sub { 'ponie' }); $commit->mock('sha256', sub { 'c0decafe' }); - $commit->mock('content', sub { '{ "message" : "blargly blarg" }' } ); + $commit->mock('content', sub { '{ "message" : "blargly blarg\n\nLong message" }' } ); $task->mock('commit', sub { $commit }); $task->mock('project', sub { $project }); @@ -106,6 +106,8 @@ Result: FAIL Commit Message: blargly blarg +Long message + TAP Output: Copying lib/Math/Primality/AKS.pm -> blib/lib/Math/Primality/AKS.pm Copying lib/Math/Primality/BigPolynomial.pm -> blib/lib/Math/Primality/BigPolynomial.pm |