Commit 1929969
committed
Fix flaky ObjectsChartTest::testTypeAxisUnit
mt_rand(0, 100) occasionally produced 0, which the OpenDocument 1.2
schema rejects for chart:interval-minor-divisor/chart:interval-major,
failing RelaxNG validation with a confusing unrelated-looking error.
Use mt_rand(1, 100) instead.1 parent d71fde4 commit 1929969
1 file changed
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
578 | 578 | | |
579 | 579 | | |
580 | 580 | | |
581 | | - | |
| 581 | + | |
582 | 582 | | |
583 | 583 | | |
584 | 584 | | |
| |||
0 commit comments