Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 2,373 for But (0.03 sec)

  1. tests/connpool_test.go

    		t.Fatalf("No error should raise, but got %v", err)
    	}
    
    	if err = tx.First(&User{}, "name = ?", "transaction").Error; err != nil {
    		t.Fatalf("Should find saved record, but got %v", err)
    	}
    
    	user1 := *GetUser("transaction1-1", Config{})
    
    	if err = tx.Save(&user1).Error; err != nil {
    		t.Fatalf("No error should raise, but got %v", err)
    	}
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  2. tests/embedded_struct_test.go

    		t.Errorf("Expected to get Author content %v but got: %v", NewPost.Author.Content, hnPost.Author.Content)
    	}
    
    	if hnPost.Author.ContentPtr != nil {
    		t.Errorf("Expected to get nil Author contentPtr but got: %v", hnPost.Author.ContentPtr)
    	}
    
    	if NewPost.Author.Birthday.UnixMilli() != hnPost.Author.Birthday.UnixMilli() {
    		t.Errorf("Expected to get Author birthday with %+v but got: %+v", NewPost.Author.Birthday, hnPost.Author.Birthday)
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  3. tests/query_test.go

    	if res.Nickname != user.Name {
    		t.Errorf("Expected res.Nickname to be %s, but got %s", user.Name, res.Nickname)
    	}
    	if res.Name != "" {
    		t.Errorf("Expected res.Name to be empty, but got %s", res.Name)
    	}
    	if res.Age != user.Age {
    		t.Errorf("Expected res.Age to be %d, but got %d", user.Age, res.Age)
    	}
    }
    
    func TestPluckWithSelect(t *testing.T) {
    	users := []User{
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Jul 22 06:21:04 UTC 2025
    - 51K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/security/oauth2-scopes.md

    If you don't select any scope, you will be "authenticated", but when you try to access `/users/me/` or `/users/me/items/` you will get an error saying that you don't have enough permissions. You will still be able to access `/status/`.
    
    And if you select the scope `me` but not the scope `items`, you will be able to access `/users/me/` but not `/users/me/items/`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  5. docs/en/docs/management-tasks.md

    Here are the general instructions for the tasks you can perform.
    
    Thanks a lot for your help. 🙇
    
    ## Be Nice
    
    First of all, be nice. 😊
    
    You probably are super nice if you were added to the team, but it's worth mentioning it. 🤓
    
    ### When Things are Difficult
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  6. cmd/bucket-handlers_test.go

    		if rec.Code != testCase.expectedRespStatus {
    			t.Errorf("Test %d: %s: Expected the response status to be `%d`, but instead found `%d`", i+1, instanceType, testCase.expectedRespStatus, rec.Code)
    		}
    		if !bytes.Equal(testCase.locationResponse, rec.Body.Bytes()) && testCase.shouldPass {
    			t.Errorf("Test %d: %s: Expected the response to be `%s`, but instead found `%s`", i+1, instanceType, string(testCase.locationResponse), rec.Body.String())
    		}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 39.8K bytes
    - Viewed (0)
  7. tests/upsert_test.go

    		t.Errorf("no error should happen when find languages with code, but got %v", err)
    	} else if len(langs) != 1 {
    		t.Errorf("should only find only 1 languages, but got %+v", langs)
    	} else if langs[0].Name != "upsert-new" {
    		t.Errorf("should update name on conflict, but got name %+v", langs[0].Name)
    	}
    
    	lang = Language{Code: "upsert", Name: "Upsert-Newname"}
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Jul 29 11:06:13 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/mylasta/direction/FessEnv.java

         */
        String getLastaDiSmartDeployMode();
    
        /**
         * Get the value for the key 'development.here'. <br>
         * The value is, e.g. true <br>
         * comment: Is development environment here? (used for various purpose, you should set false if unknown)
         * @return The value of found property. (NotNull: if not found, exception but basically no way)
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 10K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/query-params-str-validations.md

    Before Pydantic version 2 and before FastAPI 0.100.0, the parameter was called `regex` instead of `pattern`, but it's now deprecated.
    
    You could still see some code using it:
    
    //// tab | Pydantic v1
    
    {* ../../docs_src/query_params_str_validations/tutorial004_regex_an_py310.py hl[11] *}
    
    ////
    
    But know that this is deprecated and it should be updated to use the new parameter `pattern`. 🤓
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapReplaceEntryTester.java

        }
        expectUnchanged();
      }
    
      @MapFeature.Require(absent = SUPPORTS_PUT)
      public void testReplaceEntry_unsupportedAbsentKey() {
        try {
          getMap().replace(k3(), v3(), v4());
        } catch (UnsupportedOperationException tolerated) {
          // the operation would be a no-op, so exceptions are allowed but not required
        }
        expectUnchanged();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top