chore: gofumpt (#11839)

* fumpt using main not master...

* be more descriptive

* fumpt

* fix nits

Co-authored-by: Julien Robert <julien@rbrt.fr>
This commit is contained in:
Jacob Gadikian
2022-05-19 10:55:27 +02:00
committed by GitHub
co-authored by Julien Robert
parent bc2d553f77
commit 55054282d2
412 changed files with 1020 additions and 1059 deletions
+1 -2
View File
@@ -170,7 +170,6 @@ func (s *intTestSuite) TestArithInt() {
s.Require().Equal(tc.nres, tc.ires.Int64(), "Int arithmetic operation does not match with int64 operation. tc #%d", tcnum)
}
}
}
func (s *intTestSuite) TestCompInt() {
@@ -394,7 +393,7 @@ func (s *intTestSuite) TestIntEq() {
}
func TestRoundTripMarshalToInt(t *testing.T) {
var values = []int64{
values := []int64{
0,
1,
1 << 10,
-1
View File
@@ -51,5 +51,4 @@ func (s *uintInternalTestSuite) TestUintSize() {
s.Require().Equal(2, x.Size())
x = NewUint(100)
s.Require().Equal(3, x.Size())
}
+1 -1
View File
@@ -292,7 +292,7 @@ func maxuint(i1, i2 uint64) uint64 {
}
func TestRoundTripMarshalToUint(t *testing.T) {
var values = []uint64{
values := []uint64{
0,
1,
1 << 10,