From 130f24090db2b9862282281f9dd288c2a214a263 Mon Sep 17 00:00:00 2001 From: Jinzhu Date: Wed, 2 Sep 2020 21:03:47 +0800 Subject: [PATCH] update default_value_test --- tests/default_value_test.go | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/default_value_test.go b/tests/default_value_test.go index 44309eab..aa4a511a 100644 --- a/tests/default_value_test.go +++ b/tests/default_value_test.go @@ -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"` }