changeset 11794:80c63b2a29a8

tests: remove useless sed in test-hook
author Nicolas Dumazet <nicdumz.commits@gmail.com>
date Thu, 12 Aug 2010 19:40:22 +0900
parents a03ce716495d
children 06793ad30575
files tests/test-hook.t
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-hook.t	Thu Aug 12 19:38:31 2010 +0900
+++ b/tests/test-hook.t	Thu Aug 12 19:40:22 2010 +0900
@@ -397,14 +397,14 @@
   $ hg ci -d '0 0' -m 'add foo'
   Automatically installed hook
   $ echo >> foo
-  $ hg ci --debug -d '0 0' -m 'change foo' | sed -e 's/ at .*>/>/'
+  $ hg ci --debug -d '0 0' -m 'change foo'
   foo
-  calling hook commit.auto: <function autohook>
+  calling hook commit.auto: <function autohook at .*>
   Automatically installed hook
   committed changeset 1:52998019f6252a2b893452765fcb0a47351a5708
 
-  $ hg showconfig hooks | sed -e 's/ at .*>/>/'
-  hooks.commit.auto=<function autohook>
+  $ hg showconfig hooks
+  hooks.commit.auto=<function autohook at .*>
 
 # test python hook configured with python:[file]:[hook] syntax