From 6f9d10e05f3e3de6bd1e0ae67c309590f69ea162 Mon Sep 17 00:00:00 2001 From: edv1n Date: Tue, 19 Nov 2019 16:57:30 +0100 Subject: [PATCH] clarifying error message of TestModelStructIgnoreNoTagSameDBNameColumn --- model_struct_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model_struct_test.go b/model_struct_test.go index 79d31352..effe5f6b 100644 --- a/model_struct_test.go +++ b/model_struct_test.go @@ -108,6 +108,6 @@ func TestModelStructIgnoreNoTagSameDBNameColumn(t *testing.T) { } if columnIDcount > 1 { - t.Fatal("fields have same name while contains no column tag not being ignored") + t.Fatal("fields that have same DBName, while containing no column tag are not being ignored") } }