Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestRulesMatch (0.26 sec)

  1. internal/event/rules_test.go

    		result := len(testCase.rules)
    
    		if result != testCase.expectedResult {
    			t.Fatalf("test %v: result: expected: %v, got: %v", i+1, testCase.expectedResult, result)
    		}
    	}
    }
    
    func TestRulesMatch(t *testing.T) {
    	rulesCase1 := make(Rules)
    
    	rulesCase2 := make(Rules)
    	rulesCase2.Add(NewPattern("*", "*"), TargetID{"1", "webhook"})
    
    	rulesCase3 := make(Rules)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 8.8K bytes
    - Viewed (0)
Back to top