diff options
author | Wenbiao Zheng <delweng@gmail.com> | 2018-08-27 16:49:29 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2018-08-27 16:49:29 +0800 |
commit | d1aa605f1e8639769cdd75bcec3064c29a62b34a (patch) | |
tree | 84d7aba82d7365ca736afa52b66ef100d117afca /common/bitutil/compress_test.go | |
parent | 70398d300d4da97c89f96f5c9629caa327de5c39 (diff) | |
download | dexon-d1aa605f1e8639769cdd75bcec3064c29a62b34a.tar dexon-d1aa605f1e8639769cdd75bcec3064c29a62b34a.tar.gz dexon-d1aa605f1e8639769cdd75bcec3064c29a62b34a.tar.bz2 dexon-d1aa605f1e8639769cdd75bcec3064c29a62b34a.tar.lz dexon-d1aa605f1e8639769cdd75bcec3064c29a62b34a.tar.xz dexon-d1aa605f1e8639769cdd75bcec3064c29a62b34a.tar.zst dexon-d1aa605f1e8639769cdd75bcec3064c29a62b34a.zip |
all: remove the duplicate 'the' in annotations (#17509)
Diffstat (limited to 'common/bitutil/compress_test.go')
-rw-r--r-- | common/bitutil/compress_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/bitutil/compress_test.go b/common/bitutil/compress_test.go index 9bd1de103..13a13011d 100644 --- a/common/bitutil/compress_test.go +++ b/common/bitutil/compress_test.go @@ -117,7 +117,7 @@ func TestDecodingCycle(t *testing.T) { // TestCompression tests that compression works by returning either the bitset // encoded input, or the actual input if the bitset version is longer. func TestCompression(t *testing.T) { - // Check the the compression returns the bitset encoding is shorter + // Check the compression returns the bitset encoding is shorter in := hexutil.MustDecode("0x4912385c0e7b64000000") out := hexutil.MustDecode("0x80fe4912385c0e7b64") @@ -127,7 +127,7 @@ func TestCompression(t *testing.T) { if data, err := DecompressBytes(out, len(in)); err != nil || !bytes.Equal(data, in) { t.Errorf("decoding mismatch for sparse data: have %x, want %x, error %v", data, in, err) } - // Check the the compression returns the input if the bitset encoding is longer + // Check the compression returns the input if the bitset encoding is longer in = hexutil.MustDecode("0xdf7070533534333636313639343638373532313536346c1bc33339343837313070706336343035336336346c65fefb3930393233383838ac2f65fefb") out = hexutil.MustDecode("0xdf7070533534333636313639343638373532313536346c1bc33339343837313070706336343035336336346c65fefb3930393233383838ac2f65fefb") |