• Alexander Campbell's avatar
    kubectl: improve deprecatedAlias unit test · 5e1a3fd0
    Alexander Campbell authored
    Two new behaviors are tested:
    
     1. The output message that deprecatedAlias gives when it is called must
        include the word "deprecatated" and the name of the new function
        that the user should use instead.
     2. The correct function must be called by the alias (alias should "fall
        back" to the functionality of the original.
    5e1a3fd0
cmd_test.go 20.4 KB