Skip to content

Commit e58aeb3

Browse files
fixup! Refactor testsetup handling
1 parent 59fbf56 commit e58aeb3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/log_capture.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ end
3434
setup1 = @testsetup module TheTestSetup1 end
3535
setup2 = @testsetup module TheTestSetup2 end
3636
ti = TestItem(Ref(42), "TheTestItem", "ID007", [], false, [], 0, nothing, false, "source/path", 42, ".", nothing)
37-
push!(ti.testsetups, setup1)
38-
push!(ti.testsetups, setup2)
37+
push!(ti.testsetups, :TheTestSetup1 => setup1)
38+
push!(ti.testsetups, :TheTestSetup2 => setup2)
3939
push!(ti.testsets, Test.DefaultTestSet("dummy"))
4040
setup1.logstore[] = open(ReTestItems.logpath(setup1), "w")
4141
setup2.logstore[] = open(ReTestItems.logpath(setup2), "w")

0 commit comments

Comments
 (0)