[PATCH 3 of 3] tests: glob match has a glob character for not getting a warning on windows

Simon Heimberg simohe at besonet.ch
Sun Feb 16 17:15:03 CST 2014


# HG changeset patch
# User Simon Heimberg <simohe at besonet.ch>
# Date 1392334604 -3600
#      Fri Feb 14 00:36:44 2014 +0100
# Node ID 10c44ef7fcb844333735a1ea8648542a4777f000
# Parent  4035e88253d1ed7a2989269b5773adfb9908be9a
tests: glob match has a glob character for not getting a warning on windows

When / matches on / on windows, and there is no other glob character, this
results in a warning. Avoid this by using an other glob character.

diff -r 4035e88253d1 -r 10c44ef7fcb8 tests/test-run-tests.t
--- a/tests/test-run-tests.t	Sun Feb 16 23:41:24 2014 +0100
+++ b/tests/test-run-tests.t	Fri Feb 14 00:36:44 2014 +0100
@@ -65,7 +65,7 @@
 Combining esc with other markups - and handling lines ending with \r instead of \n:
 
   $ printf 'foo/bar\r'
-  foo/bar\r (no-eol) (glob) (esc)
+  fo?/bar\r (no-eol) (glob) (esc)
 #if windows
   $ printf 'foo\\bar\r'
   foo/bar\r (no-eol) (glob) (esc)


More information about the Mercurial-devel mailing list