Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. istioctl/pkg/writer/envoy/configdump/secret_test.go

    			}
    			defer outFile.Close()
    			expectedOut, err := io.ReadAll(outFile)
    			if err != nil {
    				t.Errorf("error reading test data output file: %v", err)
    			}
    
    			gotOut := &bytes.Buffer{}
    			cw := &ConfigWriter{Stdout: gotOut}
    			err = cw.Prime(configDump)
    			assert.NoError(t, err)
    			err = cw.PrintSecretSummary()
    			assert.NoError(t, err)
    
    			assert.Equal(t, string(expectedOut), gotOut.String())
    		})
    	}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Oct 28 19:52:53 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top