Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for emptyName (0.07 sec)

  1. okhttp/src/test/java/okhttp3/CookieTest.kt

      }
    
      @Test fun noEqualsSign() {
        assertThat(parse(url, "foo")).isNull()
        assertThat(parse(url, "foo; Path=/")).isNull()
      }
    
      @Test fun emptyName() {
        assertThat(parse(url, "=b")).isNull()
        assertThat(parse(url, " =b")).isNull()
        assertThat(parse(url, "\r\t \n=b")).isNull()
      }
    
      @Test fun spaceInName() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  2. tests/scanner_valuer_test.go

    }
    
    func (role Role) IsAdmin() bool {
    	return role.Name == "admin"
    }
    
    type EmptyTime struct {
    	time.Time
    }
    
    func (t *EmptyTime) Scan(v interface{}) error {
    	nullTime := sql.NullTime{}
    	err := nullTime.Scan(v)
    	t.Time = nullTime.Time
    	return err
    }
    
    func (t EmptyTime) Value() (driver.Value, error) {
    	return time.Now() /* pass tests, mysql 8 doesn't support 0000-00-00 by default */, nil
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 07 07:02:07 UTC 2023
    - 10.6K bytes
    - Viewed (0)
Back to top