From 4579913d51a224de4f04851804c4abe1dd36477d Mon Sep 17 00:00:00 2001 From: Curtis Vogt Date: Mon, 29 Apr 2024 15:56:27 -0500 Subject: [PATCH] fixup! Flatten during report generation --- test/recordproperty.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/recordproperty.jl b/test/recordproperty.jl index 08a0ca1..545f9a2 100644 --- a/test/recordproperty.jl +++ b/test/recordproperty.jl @@ -95,7 +95,7 @@ # Force flattening as ts doesn't finish fully as it is not the top level testset overwrite_text = "Property ID in testest Outer overwritten by child testset Inner" flattened_testsets = @test_logs (:warn, overwrite_text) TestReports.flatten_results!(ts) - @test length(flattened_testsets) == 1 + @test length(flattened_testsets) == 2 @test flattened_testsets[2].properties["ID"] == "0" # Test for parent testset properties not being applied to child due to different type