diff tests/test-notify @ 7658:44b3f7bbe2f3

notify: fix neglect of custom headers set via template e981725da3fe introduced a bug that discarded all custom headers. Add custom header to test template.
author Christian Ebert <blacktrash@gmx.net>
date Thu, 15 Jan 2009 01:38:52 +0100
parents fb1d7a42663c
children 3cc74ee75b0d
line wrap: on
line diff
--- a/tests/test-notify	Wed Jan 14 21:47:38 2009 -0500
+++ b/tests/test-notify	Thu Jan 15 01:38:52 2009 +0100
@@ -52,7 +52,7 @@
 config = $HGTMP/.notify.conf
 domain = test.com
 strip = 3
-template = Subject: {desc|firstline|strip}\nFrom: {author}\n\nchangeset {node|short} in {webroot}\ndescription:\n\t{desc|tabindent|strip}
+template = Subject: {desc|firstline|strip}\nFrom: {author}\nX-Test: foo\n\nchangeset {node|short} in {webroot}\ndescription:\n\t{desc|tabindent|strip}
 
 [web]
 baseurl = http://test/