Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestRunCompletion (0.24 sec)

  1. cmd/kubeadm/app/cmd/completion_test.go

    	parentCmd.SetArgs(args)
    	cmd := newCmdCompletion(&out, "")
    	parentCmd.AddCommand(cmd)
    	if err := parentCmd.Execute(); err != nil {
    		t.Errorf("Cannot execute newCmdCompletion: %v", err)
    	}
    }
    
    func TestRunCompletion(t *testing.T) {
    	var out bytes.Buffer
    	type TestCase struct {
    		name          string
    		args          []string
    		expectedError bool
    	}
    
    	testCases := []TestCase{
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 06 02:59:58 UTC 2022
    - 2.4K bytes
    - Viewed (0)
Back to top