diff --git a/tests/scan_test.go b/tests/scan_test.go index 89e2cb3c..ec1e652f 100644 --- a/tests/scan_test.go +++ b/tests/scan_test.go @@ -181,7 +181,7 @@ func TestScanToEmbedded(t *testing.T) { Joins("inner join person_addresses on people.id = person_addresses.person_id"). Joins("inner join addresses on person_addresses.address_id = addresses.id"). Find(&personAddressInfoList).Error; err != nil { - t.Errorf("Failed, got error: %v", err) + t.Errorf("Failed to run join query, got error: %v", err) } for _, info := range personAddressInfoList {