Browse Source

fix of test fix

nikandfor 9 years ago
parent
commit
1f512ae6d4
1 changed files with 1 additions and 1 deletions
  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),
 		},
 	}