Skip to content

Commit

Permalink
fix "code too large" error in java test
Browse files Browse the repository at this point in the history
  • Loading branch information
ma2bd committed Jun 6, 2024
1 parent 2ce242e commit 77418a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions serde-generate/tests/test_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -403,8 +403,8 @@ impl Runtime {
return results;
}

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

0 comments on commit 77418a0

Please sign in to comment.