Patchwork [02,of,14] test: glob a line number in test-devel-warnings.t

login
register
mail settings
Submitter Pierre-Yves David
Date July 2, 2017, 2:56 a.m.
Message ID <426a0128cabab5baf443.1498964187@nodosa.octopoid.net>
Download mbox | patch
Permalink /patch/21882/
State Accepted
Headers show

Comments

Pierre-Yves David - July 2, 2017, 2:56 a.m.
# HG changeset patch
# User Pierre-Yves David <pierre-yves.david@octobus.net>
# Date 1498952288 -7200
#      Sun Jul 02 01:38:08 2017 +0200
# Node ID 426a0128cabab5baf44342d6de6869b9d83f4c3e
# Parent  61e25b53eb78846371afc9d8ba69b9973ccfbafb
# EXP-Topic vfs.ward
# Available At https://www.mercurial-scm.org/repo/users/marmoute/mercurial/
#              hg pull https://www.mercurial-scm.org/repo/users/marmoute/mercurial/ -r 426a0128caba
test: glob a line number in test-devel-warnings.t

This make is simpler to edit the extensions file without side effect.

Patch

diff --git a/tests/test-devel-warnings.t b/tests/test-devel-warnings.t
--- a/tests/test-devel-warnings.t
+++ b/tests/test-devel-warnings.t
@@ -187,7 +187,7 @@  Test programming error failure:
 Old style deprecation warning
 
   $ hg nouiwarning
-  $TESTTMP/buggylocking.py:61: DeprecationWarning: this is a test
+  $TESTTMP/buggylocking.py:*: DeprecationWarning: this is a test (glob)
   (compatibility will be dropped after Mercurial-13.37, update your code.)
     util.nouideprecwarn('this is a test', '13.37')