pull/7785/head
Joe Chen 2022-08-02 10:44:36 +08:00
parent a2113bd13a
commit 47297c0510
No known key found for this signature in database
GPG Key ID: 0BDE5280C552FF60
1 changed files with 0 additions and 1 deletions

View File

@ -29,7 +29,6 @@ func TestIsLocalHostname(t *testing.T) {
{hostname: "google.com", want: false},
{hostname: "165.232.140.255", want: false},
{hostname: "192.168.123.45", allowlist: []string{"10.0.0.17"}, want: true}, // #11
{hostname: "gogs.local", allowlist: []string{"gogs.local"}, want: false}, // #12