tests: remove useless sed in test-hook
authorNicolas Dumazet <nicdumz.commits@gmail.com>
Thu, 12 Aug 2010 19:40:22 +0900
changeset 11794 80c63b2a29a8
parent 11793 a03ce716495d
child 11795 06793ad30575
tests: remove useless sed in test-hook
tests/test-hook.t
--- 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