We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 252fb34 commit 1c1b61bCopy full SHA for 1c1b61b
main_test.go
@@ -62,6 +62,12 @@ func Test_parseOutOfScopes(t *testing.T) {
62
assetURL, _ = url.Parse("https://zendesk.internal.example.com")
63
outOfScopeString = "https://sometool.internal.example.com"
64
value = parseOutOfScopes(assetURL, outOfScopeString, nil)
65
+ equals(t, false, value)
66
+
67
+ // Simple test - out-of-scope URL with a URL-like out-of-scope string
68
+ assetURL, _ = url.Parse("https://zendesk.internal.example.com")
69
+ outOfScopeString = "https://zendesk.internal.example.com"
70
+ value = parseOutOfScopes(assetURL, outOfScopeString, nil)
71
equals(t, true, value)
72
73
// Test with a bad function invocation, providing both an assetURL and an assetIP
0 commit comments