Fixed misuses of fmt.Println and t.Error
This commit is contained in:
@@ -65,7 +65,7 @@ func TestIntegerSingleByte1(t *testing.T) {
|
||||
}
|
||||
|
||||
if mLen != 1 {
|
||||
t.Error("Expecting the Integer to be marshalled into %d bytes, got "+
|
||||
t.Errorf("Expecting the Integer to be marshalled into %d bytes, got "+
|
||||
"%d instead", 1, mLen)
|
||||
|
||||
return
|
||||
@@ -101,7 +101,7 @@ func TestIntegerSingleByte2(t *testing.T) {
|
||||
}
|
||||
|
||||
if mLen != 1 {
|
||||
t.Error("Expecting the Integer to be marshalled into %d bytes, got "+
|
||||
t.Errorf("Expecting the Integer to be marshalled into %d bytes, got "+
|
||||
"%d instead", 1, mLen)
|
||||
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user