mirror of
https://codeberg.org/davrot/forgejo.git
synced 2025-05-30 18:00:02 +02:00
Fix yaml test (#27297)
This commit is contained in:
parent
c5247eff73
commit
e59c9e3ecd
2 changed files with 6 additions and 3 deletions
|
@ -40,7 +40,9 @@ func GetYamlFixturesAccess() (string, error) {
|
|||
fmt.Fprintf(&b, " user_id: %d\n", a.UserID)
|
||||
fmt.Fprintf(&b, " repo_id: %d\n", a.RepoID)
|
||||
fmt.Fprintf(&b, " mode: %d\n", a.Mode)
|
||||
fmt.Fprintf(&b, "\n")
|
||||
if i < len(accesses)-1 {
|
||||
fmt.Fprintf(&b, "\n")
|
||||
}
|
||||
}
|
||||
|
||||
return b.String(), nil
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue