[Request] [+ ] D9514: tests: update test-releasenotes-formatting.t with new exit codes

martinvonz (Martin von Zweigbergk) phabricator at mercurial-scm.org
Thu Dec 3 21:24:30 UTC 2020


martinvonz created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REVISION SUMMARY
  I didn't have the fuzzywuzzy package installed before, so I didn't
  notice this test fail earlier (probably when I made
  `check_incompatible_arguments` return `InputError`).

REPOSITORY
  rHG Mercurial

BRANCH
  default

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

AFFECTED FILES
  tests/test-releasenotes-formatting.t

CHANGE DETAILS

diff --git a/tests/test-releasenotes-formatting.t b/tests/test-releasenotes-formatting.t
--- a/tests/test-releasenotes-formatting.t
+++ b/tests/test-releasenotes-formatting.t
@@ -429,11 +429,11 @@
   $ cd relnotes-raise-error
   $ hg releasenotes -r . -l
   abort: cannot specify both --list and --rev
-  [255]
+  [10]
 
   $ hg releasenotes -l -c
   abort: cannot specify both --list and --check
-  [255]
+  [10]
 
 Display release notes for specified revs if no file is mentioned
 



To: martinvonz, #hg-reviewers
Cc: mercurial-patches, mercurial-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mercurial-scm.org/pipermail/mercurial-patches/attachments/20201203/1517a631/attachment.html>


More information about the Mercurial-patches mailing list