[PATCH 1 of 3] test-run-tests.t: fix wrong test case for cr handling on Windows

Mads Kiilerich mads at kiilerich.com
Wed Oct 17 18:51:29 CDT 2012


# HG changeset patch
# User Mads Kiilerich <mads at kiilerich.com>
# Date 1350513206 -7200
# Node ID 209a0c3ab878b7dcc5c8af563a8ca13f9c1e3474
# Parent  a1c4b21fc1b206f5cf386a8d9d5b5882aaa6807f
test-run-tests.t: fix wrong test case for cr handling on Windows

An incorrect and failing test case was introduced in af7c6bc48d8d.

diff --git a/tests/test-run-tests.t b/tests/test-run-tests.t
--- a/tests/test-run-tests.t
+++ b/tests/test-run-tests.t
@@ -55,11 +55,11 @@
 Windows: \r\n is handled like \n and can be escaped:
 
 #if windows
-  $ printf 'crlf\r\ncr\r\tcrlf\r\ncrcrlf\r\r\n'
+  $ printf 'crlf\r\ncr\r\tcrlf\r\ncrlf\r\n'
   crlf
   cr\r (no-eol) (esc)
   \tcrlf (esc)
-  crcrlf\r (esc)
+  crlf\r (esc)
 #endif
 
 Combining esc with other markups - and handling lines ending with \r instead of \n:


More information about the Mercurial-devel mailing list