diff tests/test-annotate.t @ 17347:2da47de36b6f

check-code: fix check for trailing whitespace on continued lines too The tests in test-annotate.t and test-import-git.t that relied on trailing space in a file created by a here string is now masked by a literal 'EOL' string that is removed.
author Mads Kiilerich <mads@kiilerich.com>
date Wed, 08 Aug 2012 18:10:37 +0200
parents f2719b387380
children 0fd0612dc855
line wrap: on
line diff
--- a/tests/test-annotate.t	Wed Aug 08 18:10:30 2012 +0200
+++ b/tests/test-annotate.t	Wed Aug 08 18:10:37 2012 +0200
@@ -279,10 +279,10 @@
   > EOF
   $ hg ci -Am "adda"
   adding a
-  $ cat > a <<EOF
+  $ sed 's/EOL$//g' > a <<EOF
   > a  a
   > 
-  >  
+  >  EOL
   > b  b
   > EOF
   $ hg ci -m "changea"