Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestStringMatcherRegex (0.17 sec)

  1. pilot/pkg/security/authz/matcher/string_test.go

    			actual := StringMatcherWithPrefix(tc.v, tc.prefix)
    			if !cmp.Equal(actual, tc.want, protocmp.Transform()) {
    				t.Errorf("want %s but got %s", tc.want.String(), actual.String())
    			}
    		})
    	}
    }
    
    func TestStringMatcherRegex(t *testing.T) {
    	testCases := []testCase{
    		{
    			name: "wildcardAsRequired",
    			v:    "*",
    			want: &matcher.StringMatcher{
    				MatchPattern: &matcher.StringMatcher_SafeRegex{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Aug 17 22:42:11 UTC 2023
    - 5.2K bytes
    - Viewed (0)
Back to top