Commit 02e8a29
Optimize jsoup buffer test
There is no need in checking the issue for strings of length equal to 12, 13, ..., n
We can check it for a string of length m, where m - is the length for which
the issue can be reproduced.
The change has been introduced in a view of a test failing on Android (30+ versions)
DEVSIX-6565
Autoported commit.
Original commit hash: [01507c54e]1 parent 643869b commit 02e8a29
File tree
2 files changed
+14
-11
lines changed- itext.tests/itext.styledxmlparser.tests/itext/styledxmlparser/jsoup/parser
2 files changed
+14
-11
lines changedLines changed: 13 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | 32 | | |
34 | 33 | | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
44 | 47 | | |
45 | 48 | | |
46 | 49 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
0 commit comments