test-custom-filter: heredoc is not required for single line operations
authorNicolas Dumazet <nicdumz.commits@gmail.com>
Tue, 31 Aug 2010 15:47:13 +0900
changeset 12125 e5ccb9ea8266
parent 12124 7edda6c7985d
child 12126 779098953457
test-custom-filter: heredoc is not required for single line operations
tests/test-custom-filters.t
--- a/tests/test-custom-filters.t	Mon Aug 30 18:57:48 2010 +0900
+++ b/tests/test-custom-filters.t	Tue Aug 31 15:47:13 2010 +0900
@@ -49,15 +49,11 @@
   $ cat stuff.txt
   Copyright 2046, The Masters
   Some stuff to ponder very carefully.
-  $ echo >> stuff.txt <<EOF
-  > Very very carefully.
-  > EOF
+  $ echo "Very very carefully." >> stuff.txt
   $ hg stat
   M stuff.txt
 
-  $ cat > morestuff.txt <<EOF
-  > Unauthorized material subject to destruction.
-  > EOF
+  $ echo "Unauthorized material subject to destruction." > morestuff.txt
 
 Problem encoding: