fix typos in test method names (#3052)
This commit is contained in:
parent
537065fbd9
commit
1bbaa43951
@ -190,7 +190,7 @@ func TestPolymorphicHasOne(t *testing.T) {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestCreateEmptyStrut(t *testing.T) {
|
func TestCreateEmptyStruct(t *testing.T) {
|
||||||
type EmptyStruct struct {
|
type EmptyStruct struct {
|
||||||
ID uint
|
ID uint
|
||||||
}
|
}
|
||||||
@ -244,7 +244,7 @@ func TestCreateWithNowFuncOverride(t *testing.T) {
|
|||||||
AssertEqual(t, newUser.UpdatedAt, curTime)
|
AssertEqual(t, newUser.UpdatedAt, curTime)
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestCreateWithNoGORMPrimayKey(t *testing.T) {
|
func TestCreateWithNoGORMPrimaryKey(t *testing.T) {
|
||||||
type JoinTable struct {
|
type JoinTable struct {
|
||||||
UserID uint
|
UserID uint
|
||||||
FriendID uint
|
FriendID uint
|
||||||
|
Loading…
x
Reference in New Issue
Block a user