Skip to content

Commit bb1a8c7

Browse files
committed
Test for progress bar title setting
1 parent 844baaa commit bb1a8c7

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

test/15_test_progress.jl

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,17 @@ end
6666
end
6767
end
6868

69+
@test_nothrow begin
70+
pbar3 = ProgressBar(; title = "Test")
71+
with(pbar3) do
72+
job = addjob!(pbar3; N = 10)
73+
for i in 1:10
74+
update!(job)
75+
sleep(0.001)
76+
end
77+
end
78+
end
79+
6980
@test_nothrow begin
7081
@track for i in 1:10
7182
sleep(0.001)

0 commit comments

Comments
 (0)