Skip to content

Commit

Permalink
fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
cihga39871 committed Aug 27, 2024
1 parent 64f3e44 commit b1bc47a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,11 @@ using Test
@test read("out.txt", String) == "stdout> 10.6\n"
@test length(read("log.txt", String)) > 500

@test run(p, "a" => 6.6, touch_run_id_file=false, stderr = "err.txt", dir=working_dir)[1]

@test isfile("err.txt")
rm("err.txt")

Pipelines.auto_change_directory(true)
@test run(p, "a" => 6.6, touch_run_id_file=false, stderr = "err.txt", dir=working_dir)[1]

Expand Down

0 comments on commit b1bc47a

Please sign in to comment.