From 666639d2aa26d13e5fd0c812220998981a57c35e Mon Sep 17 00:00:00 2001 From: maiyama18 Date: Sun, 14 Jun 2020 00:27:33 +0900 Subject: [PATCH] fix typos in test method names --- tests/create_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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