changeset 12125:e5ccb9ea8266

test-custom-filter: heredoc is not required for single line operations
author Nicolas Dumazet <nicdumz.commits@gmail.com>
date Tue, 31 Aug 2010 15:47:13 +0900
parents 7edda6c7985d
children 779098953457
files tests/test-custom-filters.t
diffstat 1 files changed, 2 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- 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: