Patchwork D7448: tests: check for Windows line endings

login
register
mail settings
Submitter phabricator
Date Nov. 18, 2019, 4:50 p.m.
Message ID <09babaef86a7a98d21b966811d9f6f3e@localhost.localdomain>
Download mbox | patch
Permalink /patch/43334/
State Not Applicable
Headers show

Comments

phabricator - Nov. 18, 2019, 4:50 p.m.
Closed by commit rHGf0b33e5f0cf4: tests: check for Windows line endings (authored by indygreg).
This revision was automatically updated to reflect the committed changes.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D7448?vs=18199&id=18216

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D7448/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D7448

AFFECTED FILES
  tests/test-check-code.t

CHANGE DETAILS




To: indygreg, #hg-reviewers, pulkit
Cc: mercurial-devel

Patch

diff --git a/tests/test-check-code.t b/tests/test-check-code.t
--- a/tests/test-check-code.t
+++ b/tests/test-check-code.t
@@ -83,3 +83,9 @@ 
 Keep python3 tests sorted:
   $ sort < contrib/python3-whitelist > $TESTTMP/py3sorted
   $ cmp contrib/python3-whitelist $TESTTMP/py3sorted || echo 'Please sort passing tests!'
+
+Keep Windows line endings in check
+
+  $ hg files 'set:eol(dos)'
+  contrib/win32/hg.bat
+  contrib/win32/mercurial.ini