From 1bbaa4395115dad830e1fedfd47d0d7c4ae630e8 Mon Sep 17 00:00:00 2001 From: maiyama18 Date: Sun, 14 Jun 2020 10:24:07 +0900 Subject: [PATCH] fix typos in test method names (#3052) --- 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