Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for nonexistent (0.15 sec)

  1. internal/config/certs_test.go

    		t.Fatalf("Unable to create temporary file. %v", err)
    	}
    	defer os.Remove(tempFile5)
    
    	testCases := []struct {
    		certFile          string
    		expectedResultLen int
    		expectedErr       bool
    	}{
    		{"nonexistent-file", 0, true},
    		{tempFile1, 0, true},
    		{tempFile2, 0, true},
    		{tempFile3, 0, true},
    		{tempFile4, 1, false},
    		{tempFile5, 2, false},
    	}
    
    	for _, testCase := range testCases {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 21.6K bytes
    - Viewed (0)
Back to top