Skip to content

Commit 77418a0

Browse files
committed
fix "code too large" error in java test
1 parent 2ce242e commit 77418a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

serde-generate/tests/test_utils.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -403,8 +403,8 @@ impl Runtime {
403403
return results;
404404
}
405405

406-
// For each byte position < 11 in the serialization of `value`:
407-
for i in 0..std::cmp::min(s.len(), 11) {
406+
// For each byte position < 9 in the serialization of `value`:
407+
for i in 0..std::cmp::min(s.len(), 9) {
408408
// Flip the highest bit
409409
{
410410
let mut s2 = s.clone();

0 commit comments

Comments
 (0)