Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestIsLocalityEmpty (0.52 sec)

  1. pilot/pkg/networking/util/util_test.go

    			match := LocalityMatch(tt.locality, tt.rule)
    			if match != tt.match {
    				t.Errorf("Expected matching result %v, but got %v", tt.match, match)
    			}
    		})
    	}
    }
    
    func TestIsLocalityEmpty(t *testing.T) {
    	tests := []struct {
    		name     string
    		locality *core.Locality
    		want     bool
    	}{
    		{
    			"non empty locality",
    			&core.Locality{
    				Region: "region",
    			},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 01:17:58 UTC 2024
    - 40K bytes
    - Viewed (0)
Back to top