Selaa lähdekoodia

fix of test fix

nikandfor 9 vuotta sitten
vanhempi
commit
1f512ae6d4
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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),
 		},
 	}