This commit is contained in:
Joe Chen
2022-08-02 10:44:36 +08:00
parent a2113bd13a
commit 47297c0510

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