Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 13 of 13 for wantNames (0.14 sec)

  1. src/archive/tar/reader_test.go

    		}
    		if hdr.Size != v.wantSize {
    			t.Errorf("test %d, Header.Size = %d, want %d", i, hdr.Size, v.wantSize)
    		}
    		if hdr.Name != v.wantName {
    			t.Errorf("test %d, Header.Name = %s, want %s", i, hdr.Name, v.wantName)
    		}
    		if v.wantErr == nil && r.Len() == 0 {
    			t.Errorf("test %d, canary byte unexpectedly consumed", i)
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 21 21:14:38 UTC 2022
    - 47.1K bytes
    - Viewed (0)
  2. src/go/build/build_test.go

    	if !reflect.DeepEqual(mpe, want) {
    		t.Errorf("err = %#v; want %#v", mpe, want)
    	}
    
    	// TODO(#45999): Since the name is ambiguous, pkg.Name should be left empty.
    	if wantName := "main"; pkg.Name != wantName {
    		t.Errorf("pkg.Name = %q; want %q", pkg.Name, wantName)
    	}
    
    	if wantGoFiles := []string{"file.go", "file_appengine.go"}; !reflect.DeepEqual(pkg.GoFiles, wantGoFiles) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 15 16:24:01 UTC 2023
    - 23.9K bytes
    - Viewed (0)
  3. pkg/kube/inject/inject_test.go

    				inputYAMLs := splitYamlFile(inputFilePath, t)
    				wantYAMLs := splitYamlFile(wantFilePath, t)
    				for i := 0; i < len(inputYAMLs); i++ {
    					t.Run(fmt.Sprintf("yamlPart[%d]", i), func(t *testing.T) {
    						runWebhook(t, webhook, inputYAMLs[i], wantYAMLs[i], true)
    					})
    				}
    			})
    		})
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 20:35:11 UTC 2024
    - 34.1K bytes
    - Viewed (0)
Back to top