From patchwork Thu Dec 3 21:24:30 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: D9514: tests: update test-releasenotes-formatting.t with new exit codes From: phabricator X-Patchwork-Id: 47797 Message-Id: To: Phabricator Cc: mercurial-devel@mercurial-scm.org Date: Thu, 3 Dec 2020 21:24:30 +0000 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 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