From 6b3aecbcbde669859533716225e9c3bbfd2023b2 Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Fri, 8 Mar 2024 14:37:56 +0000 Subject: feat(send): select commits from a list when since_or_range isn't specified adds resilience as assuming master..HEAD can cause some issues eg when master is not up-to-date with origin/master --- tests/pull.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/pull.rs') diff --git a/tests/pull.rs b/tests/pull.rs index 77ff87b..50dddbf 100644 --- a/tests/pull.rs +++ b/tests/pull.rs @@ -81,6 +81,7 @@ fn cli_tester_create_proposal( TEST_PASSWORD, "--disable-cli-spinners", "send", + "HEAD~2", "--no-cover-letter", "--in-reply-to", in_reply_to.as_str(), @@ -97,6 +98,7 @@ fn cli_tester_create_proposal( TEST_PASSWORD, "--disable-cli-spinners", "send", + "HEAD~2", "--title", format!("\"{title}\"").as_str(), "--description", @@ -114,6 +116,7 @@ fn cli_tester_create_proposal( TEST_PASSWORD, "--disable-cli-spinners", "send", + "HEAD~2", "--no-cover-letter", ], ); -- cgit v1.2.3