Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestHideInheritedFlags (0.21 sec)

  1. istioctl/cmd/root_test.go

    		if wantExists {
    			t.Errorf("%q flag was expected but not found in help text", flag)
    		} else {
    			t.Errorf("%q flag was found in help text but not expected", flag)
    		}
    	}
    }
    
    func TestHideInheritedFlags(t *testing.T) {
    	const (
    		parentFlag0 = "parent-flag0"
    		parentFlag1 = "parent-flag1"
    		parentFlag2 = "parent-flag2"
    		childFlag2  = "child-flag2"
    	)
    	parent := &cobra.Command{Use: "parent"}
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Jan 15 17:59:55 GMT 2021
    - 2.4K bytes
    - Viewed (0)
Back to top