Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestCompileRegex (0.19 sec)

  1. staging/src/k8s.io/apiserver/pkg/server/filters/cors_test.go

    		case !test.allowed && methodAllowed:
    			t.Errorf("Unexpected allowed method %v, Expected only %#v", test.method, response.Header.Get("Access-Control-Allow-Methods"))
    		}
    	}
    
    }
    
    func TestCompileRegex(t *testing.T) {
    	uncompiledRegexes := []string{"endsWithMe$", "^startingWithMe"}
    	regexes, err := compileRegexps(uncompiledRegexes)
    
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 20 19:15:51 UTC 2023
    - 7.9K bytes
    - Viewed (0)
Back to top