test: Fix some test cases that assumed git's default branch name
git is making that configurable, and configuring it globally would break the test suite in a few places. No other part of git-annex assumes any branch name. Renamed a few placeholders to make that clearer. This commit was sponsored by Jake Vosloo on Patreon.
This commit is contained in:
parent
a364effc02
commit
b651d3ede0
4 changed files with 22 additions and 12 deletions
|
@ -25,7 +25,7 @@ data View = View
|
|||
deriving (Eq, Read, Show)
|
||||
|
||||
instance Arbitrary View where
|
||||
arbitrary = View (Git.Ref "master")
|
||||
arbitrary = View (Git.Ref "foo")
|
||||
<$> resize 10 (listOf arbitrary)
|
||||
|
||||
data ViewComponent = ViewComponent
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue