Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-22 09:54:24 +01:00

fix misspell

This commit is contained in:
Michael Jerger 2024-02-09 17:56:17 +01:00
parent eecb9b8040
commit 6d17f45986

View file

@ -135,7 +135,7 @@ func TestShouldThrowErrorOnInvalidInput(t *testing.T) {
} }
_, err = NewPersonID("./api/v1/something", "forgejo") _, err = NewPersonID("./api/v1/something", "forgejo")
if err == nil { if err == nil {
t.Errorf("relative uris are not alowed") t.Errorf("relative uris are not allowed")
} }
_, err = NewPersonID("http://1.2.3.4/api/v1/something", "forgejo") _, err = NewPersonID("http://1.2.3.4/api/v1/something", "forgejo")
if err == nil { if err == nil {