Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. pkg/proxy/ipvs/ipset/ipset_test.go

    		}
    		if !reflect.DeepEqual(entries, testCases[i].expected) {
    			t.Errorf("expected entries: %v, got: %v", testCases[i].expected, entries)
    		}
    	}
    }
    
    func TestListSets(t *testing.T) {
    	output := `foo
    bar
    baz`
    
    	expected := []string{"foo", "bar", "baz"}
    
    	fcmd := fakeexec.FakeCmd{
    		CombinedOutputScript: []fakeexec.FakeAction{
    			// Success
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 41.5K bytes
    - Viewed (0)
Back to top