diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2024-03-08 14:37:56 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2024-03-08 14:39:21 +0000 |
| commit | 6b3aecbcbde669859533716225e9c3bbfd2023b2 (patch) | |
| tree | 06258c93893c57ae1ef3b3d709c364f00365fdb5 /tests/pull.rs | |
| parent | 5622e384447fba354548aca0e39dcee3d95951c3 (diff) | |
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
Diffstat (limited to 'tests/pull.rs')
| -rw-r--r-- | tests/pull.rs | 3 |
1 files changed, 3 insertions, 0 deletions
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( | |||
| 81 | TEST_PASSWORD, | 81 | TEST_PASSWORD, |
| 82 | "--disable-cli-spinners", | 82 | "--disable-cli-spinners", |
| 83 | "send", | 83 | "send", |
| 84 | "HEAD~2", | ||
| 84 | "--no-cover-letter", | 85 | "--no-cover-letter", |
| 85 | "--in-reply-to", | 86 | "--in-reply-to", |
| 86 | in_reply_to.as_str(), | 87 | in_reply_to.as_str(), |
| @@ -97,6 +98,7 @@ fn cli_tester_create_proposal( | |||
| 97 | TEST_PASSWORD, | 98 | TEST_PASSWORD, |
| 98 | "--disable-cli-spinners", | 99 | "--disable-cli-spinners", |
| 99 | "send", | 100 | "send", |
| 101 | "HEAD~2", | ||
| 100 | "--title", | 102 | "--title", |
| 101 | format!("\"{title}\"").as_str(), | 103 | format!("\"{title}\"").as_str(), |
| 102 | "--description", | 104 | "--description", |
| @@ -114,6 +116,7 @@ fn cli_tester_create_proposal( | |||
| 114 | TEST_PASSWORD, | 116 | TEST_PASSWORD, |
| 115 | "--disable-cli-spinners", | 117 | "--disable-cli-spinners", |
| 116 | "send", | 118 | "send", |
| 119 | "HEAD~2", | ||
| 117 | "--no-cover-letter", | 120 | "--no-cover-letter", |
| 118 | ], | 121 | ], |
| 119 | ); | 122 | ); |