Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for qux (0.13 sec)

  1. istioctl/pkg/writer/table/writer_test.go

    			},
    		}
    	})
    	w.AddRow(newTestObject("foo", "bar", "1.0"))
    	w.AddRow(newTestObject("baz", "qux", "2.0"))
    	w.AddRow(newTestObject("qux", "quux", "3"))
    	w.Flush()
    	expected := "NAME  NAMESPACE      VERSION\n" +
    		"foo   \x1b[32mbar\x1b[0m            1.0\n" +
    		"baz   \x1b[32mqux\x1b[0m            2.0\n" +
    		"qux   \x1b[32mquux\x1b[0m           3\n"
    	if got.String() != expected {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Oct 08 04:41:42 GMT 2022
    - 1.6K bytes
    - Viewed (0)
  2. src/archive/tar/writer_test.go

    	if err != nil {
    		t.Fatalf("os.Stat: %v", err)
    	}
    	contents := strings.Repeat(" ", int(hdr.Size))
    
    	hdr.Xattrs = map[string]string{
    		"foo": "foo",
    		"bar": "bar",
    		"baz": "baz",
    		"qux": "qux",
    	}
    
    	var buf bytes.Buffer
    	writer := NewWriter(&buf)
    	if err := writer.WriteHeader(hdr); err != nil {
    		t.Fatal(err)
    	}
    	if _, err = writer.Write([]byte(contents)); err != nil {
    		t.Fatal(err)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Feb 27 16:39:23 GMT 2024
    - 38.7K bytes
    - Viewed (0)
Back to top