Commit 1743314
committed
[BUGFIX] Suite nesting may fatal
Reordering may fatal since change 95ac72f: testSuiteContainsOtherSuites()
may also contain tests next to suites in its array, calling ->tests()
on non suite objects then fatals.
Sanitize randomizeSuiteThatContainsOtherSuites() a bit to cope with that.1 parent 90df480 commit 1743314
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
46 | 48 | | |
47 | 49 | | |
48 | 50 | | |
| |||
0 commit comments