Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. istioctl/pkg/util/formatting/formatter_test.go

      level: Warning
      message: 'Collapse danger: the castle is too old'
      origin: GrandCastle
    `
    
    	g.Expect(output).To(Equal(expectedOutput))
    }
    
    func TestFormatter_PrintEmpty(t *testing.T) {
    	g := NewWithT(t)
    
    	msgs := diag.Messages{}
    
    	logOutput, _ := Print(msgs, LogFormat, false)
    	g.Expect(logOutput).To(Equal(""))
    
    	jsonOutput, _ := Print(msgs, JSONFormat, false)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 4.1K bytes
    - Viewed (0)
Back to top