Fix the test failures related to remote default branch (HEAD)
The following two tests assumed that HEAD would always be there in the ‘rad’ remote. It turns out, however, that this isn’t necessarily the case, for example on Debian releases (as consistently noticed in multiple CI runs).
This change fixes this issue by explicitly setting the remote head, where this matters:
- crates/radicle-cli/examples/rad-patch-fetch-2.md
- crates/radicle-cli/examples/rad-patch-via-push.md
3 files changed
+6
-2
354805ae
→
354805ae
modified crates/radicle-cli/examples/rad-patch-fetch-2.md
@@ -22,7 +22,6 @@ $ git branch -r
|
|
|
|
|
|
| - | |
|
|
|
|
|
modified crates/radicle-cli/examples/rad-patch-via-push.md
@@ -62,7 +62,6 @@ And let's look at our local and remote refs:
|
|
|
|
|
|
| - | |
|
|
|
|
|
modified crates/radicle/src/test/fixtures.rs
@@ -122,6 +122,12 @@ fn repository_with<P: AsRef<Path>>(
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|