forked from kevadesu/forgejo
lint fix
This commit is contained in:
parent
ca5eaa8c6b
commit
9a9ac33766
3 changed files with 6 additions and 6 deletions
|
@ -178,7 +178,8 @@ func Test_PersonUnmarshalJSON(t *testing.T) {
|
|||
PreferredUsername: ap.NaturalLanguageValues{
|
||||
ap.LangRefValue{Ref: "en", Value: []byte("MaxMuster")},
|
||||
},
|
||||
}}
|
||||
},
|
||||
}
|
||||
sut := new(ForgePerson)
|
||||
err := sut.UnmarshalJSON([]byte(`{"type":"Person","preferredUsername":"MaxMuster"}`))
|
||||
if err != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue