Skip to content

Commit

Permalink
remove the rm()
Browse files Browse the repository at this point in the history
  • Loading branch information
cecoeco committed Oct 8, 2024
1 parent 0fbe5e0 commit 1f4494a
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ Test.@testset "checklist_template" begin
PRISMA.checklist_template()
Test.@test Base.Filesystem.isfile("checklist.csv")
Test.@test PRISMA.checklist_read("checklist.csv") isa DataFrame
Base.Filesystem.rm("checklist.csv", force=true)
end

Test.@testset "checklist" begin
Expand All @@ -21,7 +20,6 @@ Test.@testset "checklist" begin
PRISMA.checklist_save("checklist.csv", cl)
Test.@test Base.Filesystem.isfile("checklist.csv")
Test.@test PRISMA.checklist_read("checklist.csv") isa DataFrame
Base.Filesystem.rm("checklist.csv", force=true)
end

Test.@testset "checklist pdf bytes" begin
Expand All @@ -30,7 +28,6 @@ Test.@testset "checklist pdf bytes" begin
PRISMA.checklist_save("checklist.csv", cl)
Test.@test Base.Filesystem.isfile("checklist.csv")
Test.@test PRISMA.checklist_read("checklist.csv") isa DataFrame
Base.Filesystem.rm("checklist.csv", force=true)
end

Test.@testset "flow_diagram_dataframe" begin
Expand All @@ -43,7 +40,6 @@ Test.@testset "flow_diagram_template" begin
PRISMA.flow_diagram_template()
Test.@test Base.Filesystem.isfile("flow_diagram.csv")
Test.@test PRISMA.flow_diagram_read("flow_diagram.csv") isa DataFrame
Base.Filesystem.rm("flow_diagram.csv", force=true)
end

Test.@testset "flow_diagram" begin
Expand All @@ -60,12 +56,6 @@ Test.@testset "flow_diagram" begin

PRISMA.flow_diagram_save("flow_diagram.dot", fd)
Test.@test Base.Filesystem.isfile("flow_diagram.dot")

# remove the files
Base.Filesystem.rm("flow_diagram.svg", force=true)
Base.Filesystem.rm("flow_diagram.png", force=true)
Base.Filesystem.rm("flow_diagram.pdf", force=true)
Base.Filesystem.rm("flow_diagram.dot", force=true)
end

Test.@testset "plotting checklist" begin
Expand Down

0 comments on commit 1f4494a

Please sign in to comment.