@@ -210,12 +210,12 @@ func TestReadNCount(t *testing.T) {
210210			got  :=  s2 .norm [:s2 .symbolLen ]
211211			if  ! reflect .DeepEqual (want , got ) {
212212				if  s .actualTableLog  !=  s2 .actualTableLog  {
213- 					t .Errorf (name + "norm  table, want tablelog: %d, got %d" , s .actualTableLog , s2 .actualTableLog )
213+ 					t .Errorf ("%snorm  table, want tablelog: %d, got %d",  name , s .actualTableLog , s2 .actualTableLog )
214214				}
215215				if  s .symbolLen  !=  s2 .symbolLen  {
216- 					t .Errorf (name + "norm  table, want size: %d, got %d" , s .symbolLen , s2 .symbolLen )
216+ 					t .Errorf ("%snorm  table, want size: %d, got %d",  name , s .symbolLen , s2 .symbolLen )
217217				}
218- 				t .Errorf (name   +   "norm  table, got delta: \n " )
218+ 				t .Errorf ("%snorm  table, got delta: \n ",  name )
219219				return 
220220			}
221221			for  i , dec  :=  range  s2 .decTable  {
@@ -228,19 +228,19 @@ func TestReadNCount(t *testing.T) {
228228			}
229229			if  dc  !=  nil  {
230230				if  len (buf0 ) !=  len (dc ) {
231- 					t .Errorf (name + "decompressed , want size: %d, got %d" , len (buf0 ), len (dc ))
231+ 					t .Errorf ("%sdecompressed , want size: %d, got %d",  name , len (buf0 ), len (dc ))
232232					if  len (buf0 ) >  len (dc ) {
233233						buf0  =  buf0 [:len (dc )]
234234					} else  {
235235						dc  =  dc [:len (buf0 )]
236236					}
237237					if  ! bytes .Equal (buf0 , dc ) {
238- 						t .Errorf (name + "decompressed , got delta: (in) %v != (out) %v\n " , buf0 , dc )
238+ 						t .Errorf ("%sdecompressed , got delta: (in) %v != (out) %v\n ",  name , buf0 , dc )
239239					}
240240					return 
241241				}
242242				if  ! bytes .Equal (buf0 , dc ) {
243- 					t .Errorf (name   +   "decompressed , got delta." )
243+ 					t .Errorf ("%sdecompressed , got delta.",  name )
244244				}
245245				if  ! t .Failed () {
246246					t .Log ("... roundtrip ok!" )
0 commit comments