Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for emptyfolder (0.15 sec)

  1. src/archive/zip/writer_test.go

    			Data: wt.Data,
    			Mode: wt.Mode,
    		}
    	}
    	return fsys
    }
    
    func TestWriterAddFS(t *testing.T) {
    	buf := new(bytes.Buffer)
    	w := NewWriter(buf)
    	tests := []WriteTest{
    		{Name: "emptyfolder", Mode: 0o755 | os.ModeDir},
    		{Name: "file.go", Data: []byte("hello"), Mode: 0644},
    		{Name: "subfolder/another.go", Data: []byte("world"), Mode: 0644},
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  2. src/archive/tar/writer_test.go

    		}
    
    		if got := bb.String(); got != wantStr {
    			t.Fatalf("test %d, String() = %q, want %q", i, got, wantStr)
    		}
    	}
    }
    
    func TestWriterAddFS(t *testing.T) {
    	fsys := fstest.MapFS{
    		"emptyfolder":          {Mode: 0o755 | os.ModeDir},
    		"file.go":              {Data: []byte("hello")},
    		"subfolder/another.go": {Data: []byte("world")},
    		// Notably missing here is the "subfolder" directory. This makes sure even
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  3. istioctl/pkg/writer/envoy/configdump/endpoint_test.go

    	tests := []struct {
    		name         string
    		outputFormat string
    		filter       EndpointFilter
    	}{
    		{
    			name:         "emptyfilter",
    			outputFormat: "json",
    			filter:       EndpointFilter{},
    		},
    		{
    			name:         "emptyfilter",
    			outputFormat: "yaml",
    			filter:       EndpointFilter{},
    		},
    		{
    			name:         "portfilter",
    			outputFormat: "json",
    			filter: EndpointFilter{
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Jul 12 02:25:59 UTC 2022
    - 2.4K bytes
    - Viewed (0)
Back to top