Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Equals (0.3 sec)

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

      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)
    	g.Expect(jsonOutput).To(Equal("[]"))
    
    	yamlOutput, _ := Print(msgs, YAMLFormat, false)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Oct 31 14:48:28 GMT 2023
    - 4.1K bytes
    - Viewed (0)
Back to top