omit linting maybe?
This commit is contained in:
parent
ee71f86432
commit
ca0a53bf5f
1 changed files with 2 additions and 2 deletions
|
@ -96,10 +96,10 @@ func Test_LikeUnmarshalJSON(t *testing.T) {
|
|||
},
|
||||
wantErr: nil,
|
||||
},
|
||||
"invalid": { // ToDo: Here we are testing if the json parser detects invalid json, we could keep this test in case we bould our own.
|
||||
"invalid": {
|
||||
item: []byte(`{"type":"Invalid","actor":"https://repo.prod.meissa.de/api/activitypub/user-id/1","object":"https://codeberg.org/api/activitypub/repository-id/1"`),
|
||||
want: &ForgeLike{},
|
||||
wantErr: fmt.Errorf("cannot parse JSON:"),
|
||||
wantErr: fmt.Errorf("cannot parse JSON:"), //no-lint
|
||||
},
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue