Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestGetPatchSetsForPath (0.76 sec)

  1. cmd/kubeadm/app/util/patches/patches_test.go

    	var pathErr *os.PathError
    	if !errors.As(err, &pathErr) {
    		t.Fatalf("expected os.PathError for non-directory path %q, but got %v", tempFile.Name(), err)
    	}
    }
    
    func TestGetPatchSetsForPath(t *testing.T) {
    	const patchData = `{"foo":"bar"}`
    
    	tests := []struct {
    		name                 string
    		filesToWrite         []string
    		expectedPatchSets    []*patchSet
    		expectedPatchFiles   []string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 09 14:24:11 UTC 2023
    - 11.9K bytes
    - Viewed (0)
Back to top