Skip to content

Commit 8bef8d9

Browse files
authored
Merge pull request #120 from philbit/patch-1
warn about flatten_results! behavior in docs
2 parents fa124ec + 7b90fe3 commit 8bef8d9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/testsets.jl

+3
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,9 @@ end
263263
264264
Returns a flat vector of `TestSet`s which only contain `Result`s. This is necessary for
265265
writing a JUnit XML report the schema does not allow nested XML `testsuite` elements.
266+
267+
Warning: Alters the original hierarchy inside `ts` and potentially removes testsets
268+
from it. Be sure to rely only on the returned vector after usage.
266269
"""
267270
flatten_results!(ts::AbstractTestSet) = _flatten_results!(ts, 0)
268271

0 commit comments

Comments
 (0)