Albirew/nyaa-pantsu
Albirew
/
nyaa-pantsu
Archivé
1
0
Bifurcation 0

Update torrentParam_test.go

Cette révision appartient à :
kilo 2017-11-20 04:08:33 +01:00 révisé par GitHub
Parent f015de89d3
révision 5c25d51b8b
Signature inconnue de Forgejo
ID de la clé GPG: 4AEE18F83AFDEB23
1 fichiers modifiés avec 1 ajouts et 0 suppressions

Voir le fichier

@ -33,6 +33,7 @@ func TestTorrentParam_FromRequest(t *testing.T) {
c = mockRequest(t, "/?fromID=3&q=xx&c=_")
torrentParam.FromRequest(c)
defTorrent.FromID, defTorrent.NameLike = 3, "xx"
defTorrent.NameSearch = "xx "
assert.Equal(defTorrent, torrentParam)
}