Skip to content

Commit

Permalink
Merge pull request #120 from philbit/patch-1
Browse files Browse the repository at this point in the history
warn about flatten_results! behavior in docs
  • Loading branch information
oxinabox authored Jun 11, 2024
2 parents fa124ec + 7b90fe3 commit 8bef8d9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/testsets.jl
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,9 @@ end
Returns a flat vector of `TestSet`s which only contain `Result`s. This is necessary for
writing a JUnit XML report the schema does not allow nested XML `testsuite` elements.
Warning: Alters the original hierarchy inside `ts` and potentially removes testsets
from it. Be sure to rely only on the returned vector after usage.
"""
flatten_results!(ts::AbstractTestSet) = _flatten_results!(ts, 0)

Expand Down

0 comments on commit 8bef8d9

Please sign in to comment.