Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestMinimumIstioVersion (0.15 sec)

  1. pkg/test/framework/resource/version_test.go

    		t.Run(fmt.Sprintf("compare version %s->%s", tc.a, tc.b), func(t *testing.T) {
    			r := tc.a.Compare(tc.b)
    			if r != tc.result {
    				t.Errorf("expected %d, got %d", tc.result, r)
    			}
    		})
    	}
    }
    
    func TestMinimumIstioVersion(t *testing.T) {
    	tcs := []struct {
    		name     string
    		versions IstioVersions
    		result   IstioVersion
    	}{
    		{
    			"two versions",
    			IstioVersions([]IstioVersion{
    				"1.4", "1.5",
    			}),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 22 18:13:40 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top