Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for noError (0.07 sec)

  1. pkg/apis/core/validation/validation_test.go

    		{v1.DeprecatedAppArmorBetaProfileNamePrefix + "foo-bar", true},
    	}
    
    	for _, test := range tests {
    		err := ValidateAppArmorProfileFormat(test.profile)
    		if test.expectValid {
    			assert.NoError(t, err, "Profile %s should be valid", test.profile)
    		} else {
    			assert.Error(t, err, fmt.Sprintf("Profile %s should not be valid", test.profile))
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 857.7K bytes
    - Viewed (0)
Back to top