Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestSafeSort (0.1 sec)

  1. staging/src/k8s.io/apimachinery/pkg/labels/selector_test.go

    		}
    		ts.sel = ts.sel.Add(*req)
    		if !reflect.DeepEqual(ts.sel, ts.refSelector) {
    			t.Errorf("%s - Expected %v found %v", ts.name, ts.refSelector, ts.sel)
    		}
    	}
    }
    
    func TestSafeSort(t *testing.T) {
    	tests := []struct {
    		name   string
    		in     []string
    		inCopy []string
    		want   []string
    	}{
    		{
    			name:   "nil strings",
    			in:     nil,
    			inCopy: nil,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 14 16:39:04 UTC 2022
    - 29.9K bytes
    - Viewed (0)
Back to top