[PATCH 02 of 14] test: glob a line number in test-devel-warnings.t
Pierre-Yves David
pierre-yves.david at ens-lyon.org
Sun Jul 2 02:56:27 UTC 2017
# HG changeset patch
# User Pierre-Yves David <pierre-yves.david at 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.
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')
More information about the Mercurial-devel
mailing list