diff tests/test-import-eol @ 10130:7936cd261dc9

test-import-eol: improve binary hunks test
author Patrick Mezard <pmezard@gmail.com>
date Wed, 23 Dec 2009 19:31:48 +0100
parents d8214e944b84
children
line wrap: on
line diff
--- a/tests/test-import-eol	Wed Dec 23 19:31:48 2009 +0100
+++ b/tests/test-import-eol	Wed Dec 23 19:31:48 2009 +0100
@@ -73,9 +73,9 @@
 hg st
 
 # Test --eol and binary patches
-python -c 'file("b", "wb").write("a\x00\nb")'
+python -c 'file("b", "wb").write("a\x00\nb\r\nd")'
 hg ci -Am addb
-python -c 'file("b", "wb").write("a\x00\nc")'
+python -c 'file("b", "wb").write("a\x00\nc\r\nd")'
 hg diff --git > bin.diff
 hg revert --no-backup b
 echo % binary patch with --eol