Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestKnownExitStrings (0.13 sec)

  1. istioctl/cmd/sysexits_test.go

    	analyze.FileParseError{}:                                       ExitDataError,
    	analyze.AnalyzerFoundIssuesError{}:                             ExitAnalyzerFoundIssues,
    }
    
    func TestKnownExitStrings(t *testing.T) {
    	for err, wantCode := range KnownErrorCode {
    		if code := GetExitCode(err); code != wantCode {
    			t.Errorf("For %v want %v, but is %v", err, wantCode, code)
    		}
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 1.3K bytes
    - Viewed (0)
Back to top