changeset 38094:e504fa630860

tests: use [(] instead of \( to avoid warning on py3 From a recent test run of mine: run-tests.py:1633: DeprecationWarning: invalid escape sequence '\(' This lets us encode the expectation without the badness. Differential Revision: https://phab.mercurial-scm.org/D3621
author Augie Fackler <augie@google.com>
date Sat, 19 May 2018 15:47:32 -0400
parents 0b39edeff033
children 3de58f50afa2
files tests/test-unified-test.t
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-unified-test.t	Sat May 19 15:15:51 2018 -0400
+++ b/tests/test-unified-test.t	Sat May 19 15:47:32 2018 -0400
@@ -84,7 +84,7 @@
   foo/bar\r (no-eol) (esc)
 #endif
   $ printf 'foo/bar\rfoo/bar\r'
-  foo.bar\r \(no-eol\) (re) (esc)
+  foo.bar\r [(]no-eol[)] (re) (esc)
   foo.bar\r \(no-eol\) (re)
 
 testing hghave