From 8de147768c2de3221d0a119278e76c013d20b0f1 Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Thu, 29 Feb 2024 12:44:06 +0000 Subject: feat(send): add proposal revision cli msg before cover letter prompt primarily this is to make it clearer that a proposal update is being sent when using `ngit push --force` instead of a new proposal --- tests/push.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/push.rs') diff --git a/tests/push.rs b/tests/push.rs index 0705174..d295c01 100644 --- a/tests/push.rs +++ b/tests/push.rs @@ -592,6 +592,10 @@ mod when_branch_is_checked_out { // standard output from `ngit send` p.expect(format!("creating patch for 2 commits from '{FEATURE_BRANCH_NAME_1}' that can be merged into 'main'\r\n"))?; + p.expect("as a revision to proposal: ")?; + // proposal id will be printed in this gap + p.expect_eventually("\r\n")?; + p.expect("searching for profile and relay updates...\r\n")?; p.expect("\r")?; p.expect("logged in as fred\r\n")?; -- cgit v1.2.3