Patchwork D9514: tests: update test-releasenotes-formatting.t with new exit codes

login
register
mail settings
Submitter phabricator
Date Dec. 3, 2020, 9:24 p.m.
Message ID <differential-rev-PHID-DREV-jez5bqqytiorp73u73dx-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/47797/
State Superseded
Headers show

Comments

phabricator - Dec. 3, 2020, 9:24 p.m.
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




To: martinvonz, #hg-reviewers
Cc: mercurial-patches, mercurial-devel

Patch

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