Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,046 for expecting (0.3 sec)

  1. test/fixedbugs/issue13273.go

    	<-<-chan int // ERROR "unexpected <-, expected chan|expecting {" (new parser: same error as for type decl)
    
    	type _ <-chan<-int // ERROR "unexpected int, expected chan|expected .*chan.*|expected chan|expected .*;.* or .*}.* or newline"
    	<-chan<-int // ERROR "unexpected int, expected chan|expecting {" (new parser: same error as for type decl)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 01 22:37:04 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/ArtifactResolutionExpectationSpec.groovy

            withModuleMetadata(expectation)
            withoutModuleMetadata(expectation)
        }
    
        /**
         * Short-hand notation for expecting a list of files independently of the fact module metadata is used or not
         * @param fileNames
         */
        void expectFiles(String... fileNames) {
            always {
                expectFiles(fileNames as List<String>)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. src/io/pipe.go

    // Copyright 2009 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Pipe adapter to connect code expecting an io.Reader
    // with code expecting an io.Writer.
    
    package io
    
    import (
    	"errors"
    	"sync"
    )
    
    // onceError is an object that will only store an error once.
    type onceError struct {
    	sync.Mutex // guards following
    	err        error
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:34:35 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  4. istioctl/pkg/workload/workload_test.go

    			expectedException: true,
    			expectedOutput:    "Error: expecting a workload name\n",
    		},
    		{
    			description:       "Invalid command args - missing service name",
    			args:              strings.Split("group create -n bar", " "),
    			expectedException: true,
    			expectedOutput:    "Error: expecting a workload name\n",
    		},
    		{
    			description:       "Invalid command args - missing service namespace",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 27 16:59:05 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  5. cmd/object-api-multipart_test.go

    		// Expecting "Invalid upload id".
    		{bucketName: bucket, objName: "def", uploadID: "xyz", PartID: 1, expectedError: fmt.Errorf("%s", "Invalid upload id xyz")},
    		// Test Case - 9.
    		// Existing bucket, bucket and object name are the ones from which NewMultipartUpload is constructed from.
    		// But the uploadID is invalid.
    		// Expecting "Invalid upload id".
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 77.1K bytes
    - Viewed (0)
  6. pkg/api/v1/service/util.go

    		specs := service.Spec.LoadBalancerSourceRanges
    		ipnets, err = utilnet.ParseIPNets(specs...)
    
    		if err != nil {
    			return nil, fmt.Errorf("service.Spec.LoadBalancerSourceRanges: %v is not valid. Expecting a list of IP ranges. For example, 10.0.0.0/24. Error msg: %v", specs, err)
    		}
    	} else {
    		val := service.Annotations[v1.AnnotationLoadBalancerSourceRangesKey]
    		val = strings.TrimSpace(val)
    		if val == "" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 30 15:56:47 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/util/etcd/etcd_test.go

    			endpoints, err := getEtcdEndpointsWithRetry(client, time.Microsecond*10, time.Millisecond*100)
    			if err != nil && !rt.expectedErr {
    				t.Errorf("got error %q; was expecting no errors", err)
    				return
    			} else if err == nil && rt.expectedErr {
    				t.Error("got no error; was expecting an error")
    				return
    			} else if err != nil && rt.expectedErr {
    				return
    			}
    
    			if !reflect.DeepEqual(endpoints, rt.expectedEndpoints) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 14 13:07:56 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  8. security/pkg/pki/util/san_test.go

    		if _, err := ExtractIDsFromSAN(tc.ext); err == nil {
    			t.Errorf("%v: Expecting error to be returned but got nil", id)
    		}
    	}
    }
    
    func TestExtractIDsFromSANWithBadEncoding(t *testing.T) {
    	ext := &pkix.Extension{
    		Id:    oidSubjectAlternativeName,
    		Value: []byte("bad value"),
    	}
    
    	if _, err := ExtractIDsFromSAN(ext); err == nil {
    		t.Error("Expecting error to be returned but got nil")
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Feb 12 17:36:33 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_body/test_tutorial001.py

                            "error": "Expecting property name enclosed in double quotes"
                        },
                    }
                ]
            }
        ) | IsDict(
            # TODO: remove when deprecating Pydantic v1
            {
                "detail": [
                    {
                        "loc": ["body", 1],
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_body/test_tutorial001_py310.py

                            "error": "Expecting property name enclosed in double quotes"
                        },
                    }
                ]
            }
        ) | IsDict(
            # TODO: remove when deprecating Pydantic v1
            {
                "detail": [
                    {
                        "loc": ["body", 1],
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 15K bytes
    - Viewed (0)
Back to top