Skip to content

Commit

Permalink
Add comment to TestValidatePorts.
Browse files Browse the repository at this point in the history
  • Loading branch information
tyabu12 committed Mar 24, 2022
1 parent 1832ed6 commit afb3956
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/minikube/cmd/start_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -464,6 +464,8 @@ func TestValidateRuntime(t *testing.T) {
func TestValidatePorts(t *testing.T) {
isMicrosoftWSL := detect.IsMicrosoftWSL()
type portTest struct {
// isTarget indicates whether or not the test case is covered
// because validatePorts behaves differently depending on whether process is running in WSL in windows or not.
isTarget bool
ports []string
errorMsg string
Expand Down

0 comments on commit afb3956

Please sign in to comment.