Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestInvertStages (0.14 sec)

  1. staging/src/k8s.io/apiserver/pkg/audit/policy/util_test.go

    limitations under the License.
    */
    
    package policy
    
    import (
    	"testing"
    
    	"github.com/stretchr/testify/require"
    
    	"k8s.io/apiserver/pkg/apis/audit"
    )
    
    func TestInvertStages(t *testing.T) {
    	for _, test := range []struct {
    		desc           string
    		stages         []audit.Stage
    		expectedStages []audit.Stage
    	}{
    		{
    			desc: "should remove one",
    			stages: []audit.Stage{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 09 22:38:00 UTC 2018
    - 1.9K bytes
    - Viewed (0)
Back to top