diff --git a/tests/create_test.go b/tests/create_test.go index c497014e..351f02a3 100644 --- a/tests/create_test.go +++ b/tests/create_test.go @@ -190,7 +190,7 @@ func TestPolymorphicHasOne(t *testing.T) { }) } -func TestCreateEmptyStrut(t *testing.T) { +func TestCreateEmptyStruct(t *testing.T) { type EmptyStruct struct { ID uint } @@ -244,7 +244,7 @@ func TestCreateWithNowFuncOverride(t *testing.T) { AssertEqual(t, newUser.UpdatedAt, curTime) } -func TestCreateWithNoGORMPrimayKey(t *testing.T) { +func TestCreateWithNoGORMPrimaryKey(t *testing.T) { type JoinTable struct { UserID uint FriendID uint