Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for nonExisting (0.19 sec)

  1. pkg/kubelet/clustertrustbundle/clustertrustbundle_manager_test.go

    		t.Fatalf("Got bad bundle; diff (-got +want)\n%s", diff)
    	}
    
    	_, err = ctbManager.GetTrustAnchorsByName("not-found", false)
    	if err == nil { // EQUALS nil
    		t.Fatalf("While looking up nonexisting ClusterTrustBundle, got nil error, wanted non-nil")
    	}
    
    	_, err = ctbManager.GetTrustAnchorsByName("not-found", true)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 18:40:48 UTC 2023
    - 15.5K bytes
    - Viewed (0)
  2. subprojects/diagnostics/src/integTest/groovy/org/gradle/configuration/HelpTest.groovy

        }
    
        def "gives decent error message for unknown tasks"() {
            when:
            helpTask.setTaskPath("notexisting")
            helpTask.displayHelp()
            then:
            def e = thrown(TaskSelectionException)
            e.message == "Task 'notexisting' not found in root project '${project.name}'."
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jul 15 07:22:20 UTC 2016
    - 1.2K bytes
    - Viewed (0)
  3. tests/main_test.go

    		t.Errorf("Should be able to get setting after set")
    	} else if value.(string) != "world" {
    		t.Errorf("Set value should not be changed")
    	}
    
    	if _, ok := DB.Get("non_existing"); ok {
    		t.Errorf("Get non existing key should return error")
    	}
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Thu Mar 24 01:31:58 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  4. cmd/data-usage_test.go

    		},
    		{
    			path:   "/dir1",
    			size:   1302010,
    			objs:   5,
    			oSizes: sizeHistogram{0: 1, 1: 1, 2: 2, 4: 1},
    		},
    		{
    			path:  "/dir1/dira",
    			isNil: true,
    		},
    		{
    			path:  "/nonexistying",
    			isNil: true,
    		},
    	}
    
    	for _, w := range want {
    		p := path.Join(bucket, w.path)
    		t.Run(p, func(t *testing.T) {
    			e := got.find(p)
    			if w.isNil {
    				if e != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Mar 27 15:10:40 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  5. chainable_api.go

    //
    // Attrs only adds attributes if the record is not found.
    //
    //	// assign an email if the record is not found
    //	db.Where(User{Name: "non_existing"}).Attrs(User{Email: "******@****.***"}).FirstOrInit(&user)
    //	// user -> User{Name: "non_existing", Email: "******@****.***"}
    //
    //	// assign an email if the record is not found, otherwise ignore provided email
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 09:47:34 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  6. pkg/fieldpath/fieldpath_test.go

    		},
    		{
    			name:                    "invalid subscript",
    			fieldPath:               "metadata.notexisting['something']",
    			obj:                     &v1.Pod{},
    			expectedMessageFragment: "fieldPath \"metadata.notexisting['something']\" does not support subscript",
    		},
    	}
    
    	for _, tc := range cases {
    		actual, err := ExtractFieldPathAsString(tc.obj, tc.fieldPath)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 02 06:26:55 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  7. finisher_api.go

    //
    // FirstOrInit never modifies the database. It is often used with Assign and Attrs.
    //
    //	// assign an email if the record is not found
    //	db.Where(User{Name: "non_existing"}).Attrs(User{Email: "******@****.***"}).FirstOrInit(&user)
    //	// user -> User{Name: "non_existing", Email: "******@****.***"}
    //
    //	// assign email regardless of if record is found
    //	db.Where(User{Name: "jinzhu"}).Assign(User{Email: "******@****.***"}).FirstOrInit(&user)
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Fri Jan 12 08:42:21 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  8. src/encoding/json/testdata/code.json.gz

    :1228948796,"max_t":1228948796,"mean_t":1228948796},{"name":"js-late-marker-creation-expected.checksum","kids":[],"cl_weight":0.0010080645161290322,"touches":1,"min_t":1228948796,"max_t":1228948796,"mean_t":1228948796},{"name":"use-referencing-nonexisting-symbol-expected.checksum","kids":[],"cl_weight":0.0010080645161290322,"touches":1,"min_t":1228948796,"max_t":1228948796,"mean_t":1228948796},{"name":"dynamic-empty-path-expected.png","kids":[],"cl_weight":0.0010080645161290322,"touches":1,"min_...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 25 04:02:36 UTC 2016
    - 117.6K bytes
    - Viewed (0)
Back to top