update default_value_test

This commit is contained in:
Jinzhu 2020-09-02 21:03:47 +08:00
parent dbe0f4d8d7
commit 130f24090d
1 changed files with 0 additions and 1 deletions

View File

@ -13,7 +13,6 @@ func TestDefaultValue(t *testing.T) {
Name string `gorm:"not null;default:foo"`
Name2 string `gorm:"size:233;not null;default:'foo'"`
Name3 string `gorm:"size:233;not null;default:''"`
Name4 string `gorm:"size:233;default:null"`
Age int `gorm:"default:18"`
Enabled bool `gorm:"default:true"`
}