Update wording.

This commit is contained in:
Joachim Bauch 2020-07-31 11:24:54 +02:00
parent 30877d01a1
commit 1ef50ea18c
Failed to extract signature

View file

@ -128,7 +128,7 @@ func TestIsUrlAllowed(t *testing.T) {
testBackends(t, cfg, valid_urls, invalid_urls)
}
func TestIsUrlAllowed_EmptyWhitelist(t *testing.T) {
func TestIsUrlAllowed_EmptyAllowlist(t *testing.T) {
valid_urls := []string{}
invalid_urls := []string{
"http://domain.invalid",
@ -145,7 +145,7 @@ func TestIsUrlAllowed_EmptyWhitelist(t *testing.T) {
testUrls(t, cfg, valid_urls, invalid_urls)
}
func TestIsUrlAllowed_WhitelistAll(t *testing.T) {
func TestIsUrlAllowed_AllowAll(t *testing.T) {
valid_urls := []string{
"http://domain.invalid",
"https://domain.invalid",