Explorar o código

fix of test fix

nikandfor %!s(int64=9) %!d(string=hai) anos
pai
achega
1f512ae6d4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      marshal_test.go

+ 1 - 1
marshal_test.go

@@ -708,7 +708,7 @@ func TestMarshalVarint(t *testing.T) {
 		},
 		{
 			Value:       uint64(math.MaxUint64),
-			Marshaled:   []byte("\x00\x80\x00\x00\x00\x00\x00\x00\x00"),
+			Marshaled:   []byte("\x00\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"),
 			Unmarshaled: uint64(math.MaxUint64),
 		},
 	}