Skip to content

Commit d0fadc7

Browse files
committed
Fix comment per PR review
1 parent e7f658f commit d0fadc7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Lucene.Net.Tests/Util/TestNumericUtils.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ public virtual void TestPrefixCodedDecodeRejectsHighBitBytes()
179179
// Build a valid encoding, then corrupt one of the data bytes to have the high bit set.
180180
BytesRef encoded = new BytesRef(NumericUtils.BUF_SIZE_INT64);
181181

182-
// Int64 path: encode 12345L at shift=0 -> 10 bytes (1 shift byte + 9 data bytes).
182+
// Int64 path: encode 12345L at shift=0 -> 11 bytes (1 shift byte + 10 data bytes).
183183
NumericUtils.Int64ToPrefixCodedBytes(12345L, 0, encoded);
184184
// Sanity: the round-trip works as-is.
185185
Assert.AreEqual(12345L, NumericUtils.PrefixCodedToInt64(encoded));

0 commit comments

Comments
 (0)