@@ -1415,7 +1415,7 @@ func TestAdd_int_int(t *testing.T) {
14151415 }
14161416
14171417 if result != int64 (4 ) {
1418- t .Errorf ("expected %s to be %s " , result , int64 (4 ))
1418+ t .Errorf ("expected %d to be %d " , result , int64 (4 ))
14191419 }
14201420}
14211421
@@ -1426,7 +1426,7 @@ func TestAdd_int_float(t *testing.T) {
14261426 }
14271427
14281428 if result != float64 (4 ) {
1429- t .Errorf ("expected %s to be %s " , result , float64 (4 ))
1429+ t .Errorf ("expected %f to be %f " , result , float64 (4 ))
14301430 }
14311431}
14321432
@@ -1437,7 +1437,7 @@ func TestAdd_float_int(t *testing.T) {
14371437 }
14381438
14391439 if result != float64 (4 ) {
1440- t .Errorf ("expected %s to be %s " , result , float64 (4 ))
1440+ t .Errorf ("expected %f to be %f " , result , float64 (4 ))
14411441 }
14421442}
14431443
@@ -1448,7 +1448,7 @@ func TestAdd_float_float(t *testing.T) {
14481448 }
14491449
14501450 if result != float64 (4 ) {
1451- t .Errorf ("expected %s to be %s " , result , float64 (4 ))
1451+ t .Errorf ("expected %f to be %f " , result , float64 (4 ))
14521452 }
14531453}
14541454
@@ -1471,7 +1471,7 @@ func TestSubtract_int_int(t *testing.T) {
14711471 }
14721472
14731473 if result != int64 (0 ) {
1474- t .Errorf ("expected %s to be %s " , result , int64 (0 ))
1474+ t .Errorf ("expected %d to be %d " , result , int64 (0 ))
14751475 }
14761476}
14771477
@@ -1482,7 +1482,7 @@ func TestSubtract_int_float(t *testing.T) {
14821482 }
14831483
14841484 if result != float64 (0 ) {
1485- t .Errorf ("expected %s to be %s " , result , float64 (0 ))
1485+ t .Errorf ("expected %f to be %f " , result , float64 (0 ))
14861486 }
14871487}
14881488
@@ -1493,7 +1493,7 @@ func TestSubtract_float_int(t *testing.T) {
14931493 }
14941494
14951495 if result != float64 (0 ) {
1496- t .Errorf ("expected %s to be %s " , result , float64 (0 ))
1496+ t .Errorf ("expected %f to be %f " , result , float64 (0 ))
14971497 }
14981498}
14991499
@@ -1504,7 +1504,7 @@ func TestSubtract_float_float(t *testing.T) {
15041504 }
15051505
15061506 if result != float64 (0 ) {
1507- t .Errorf ("expected %s to be %s " , result , float64 (0 ))
1507+ t .Errorf ("expected %f to be %f " , result , float64 (0 ))
15081508 }
15091509}
15101510
@@ -1527,7 +1527,7 @@ func TestMultiply_int_int(t *testing.T) {
15271527 }
15281528
15291529 if result != int64 (4 ) {
1530- t .Errorf ("expected %s to be %s " , result , int64 (4 ))
1530+ t .Errorf ("expected %d to be %d " , result , int64 (4 ))
15311531 }
15321532}
15331533
@@ -1538,7 +1538,7 @@ func TestMultiply_int_float(t *testing.T) {
15381538 }
15391539
15401540 if result != float64 (4 ) {
1541- t .Errorf ("expected %s to be %s " , result , float64 (4 ))
1541+ t .Errorf ("expected %f to be %f " , result , float64 (4 ))
15421542 }
15431543}
15441544
@@ -1549,7 +1549,7 @@ func TestMultiply_float_int(t *testing.T) {
15491549 }
15501550
15511551 if result != float64 (4 ) {
1552- t .Errorf ("expected %s to be %s " , result , float64 (4 ))
1552+ t .Errorf ("expected %f to be %f " , result , float64 (4 ))
15531553 }
15541554}
15551555
@@ -1560,7 +1560,7 @@ func TestMultiply_float_float(t *testing.T) {
15601560 }
15611561
15621562 if result != float64 (4 ) {
1563- t .Errorf ("expected %s to be %s " , result , float64 (4 ))
1563+ t .Errorf ("expected %f to be %f " , result , float64 (4 ))
15641564 }
15651565}
15661566
@@ -1583,7 +1583,7 @@ func TestDivide_int_int(t *testing.T) {
15831583 }
15841584
15851585 if result != int64 (1 ) {
1586- t .Errorf ("expected %s to be %s " , result , int64 (1 ))
1586+ t .Errorf ("expected %d to be %d " , result , int64 (1 ))
15871587 }
15881588}
15891589
@@ -1594,7 +1594,7 @@ func TestDivide_int_float(t *testing.T) {
15941594 }
15951595
15961596 if result != float64 (1 ) {
1597- t .Errorf ("expected %s to be %s " , result , float64 (1 ))
1597+ t .Errorf ("expected %f to be %f " , result , float64 (1 ))
15981598 }
15991599}
16001600
@@ -1605,7 +1605,7 @@ func TestDivide_float_int(t *testing.T) {
16051605 }
16061606
16071607 if result != float64 (1 ) {
1608- t .Errorf ("expected %s to be %s " , result , float64 (1 ))
1608+ t .Errorf ("expected %f to be %f " , result , float64 (1 ))
16091609 }
16101610}
16111611
@@ -1616,7 +1616,7 @@ func TestDivide_float_float(t *testing.T) {
16161616 }
16171617
16181618 if result != float64 (1 ) {
1619- t .Errorf ("expected %s to be %s " , result , float64 (1 ))
1619+ t .Errorf ("expected %f to be %f " , result , float64 (1 ))
16201620 }
16211621}
16221622
0 commit comments