@@ -68,12 +68,12 @@ func mergeSameFileProfile(ap, bp *cover.Profile) (*cover.Profile, error) {
6868 if len (ap .Blocks ) != len (bp .Blocks ) {
6969 logger .L .Debug ().
7070 Str ("a-file" , ap .FileName ).
71- Int ("a-len" , len (ap .Blocks )).
7271 Str ("b-file" , bp .FileName ).
72+ Int ("a-len" , len (ap .Blocks )).
7373 Int ("b-len" , len (bp .Blocks )).
7474 Msg ("inconsistent profile length" )
7575
76- return nil , fmt .Errorf ("inconsistent profiles length [%q, %q ]" , ap . FileName , bp .FileName )
76+ return nil , fmt .Errorf ("inconsistent profiles length [%q]" , ap .FileName )
7777 }
7878
7979 for i := range ap .Blocks {
@@ -88,12 +88,12 @@ func mergeSameFileProfile(ap, bp *cover.Profile) (*cover.Profile, error) {
8888 } else {
8989 logger .L .Debug ().
9090 Str ("a-file" , ap .FileName ).
91- Interface ("a" , a ).
9291 Str ("b-file" , bp .FileName ).
92+ Interface ("a" , a ).
9393 Interface ("b" , b ).
9494 Msg ("inconsistent profile data" )
9595
96- return nil , fmt .Errorf ("inconsistent profile data [%q, %q ]" , ap . FileName , bp .FileName )
96+ return nil , fmt .Errorf ("inconsistent profile data [%q]" , ap .FileName )
9797 }
9898 }
9999
0 commit comments