File tree Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 1
1
name = " ReTestItems"
2
2
uuid = " 817f1d60-ba6b-4fd5-9520-3cf149f6a823"
3
- version = " 1.28 .0"
3
+ version = " 1.29 .0"
4
4
5
5
[deps ]
6
6
Dates = " ade2ca70-3891-5945-98fb-dc099432e06a"
Original file line number Diff line number Diff line change @@ -272,6 +272,7 @@ function runtests(
272
272
(0 ≤ memory_threshold ≤ 1 ) || throw (ArgumentError (" `memory_threshold` must be between 0 and 1, got $(repr (memory_threshold)) " ))
273
273
testitem_timeout > 0 || throw (ArgumentError (" `testitem_timeout` must be a positive number, got $(repr (testitem_timeout)) " ))
274
274
timeout_profile_wait >= 0 || throw (ArgumentError (" `timeout_profile_wait` must be a non-negative number, got $(repr (timeout_profile_wait)) " ))
275
+ test_end_expr. head === :block || throw (ArgumentError (" `test_end_expr` must be a `:block` expression, got a `$(repr (test_end_expr. head)) ` expression" ))
275
276
# If we were given paths but none were valid, then nothing to run.
276
277
! isempty (paths) && isempty (paths′) && return nothing
277
278
ti_filter = TestItemFilter (shouldrun, tags, name)
Original file line number Diff line number Diff line change @@ -1503,4 +1503,8 @@ else
1503
1503
end # VERSION
1504
1504
end
1505
1505
1506
+ @testset " `test_end_expr` must be `:block`" begin
1507
+ @test_throws " `test_end_expr` must be a `:block` expression" runtests (; test_end_expr= :(@assert false ))
1508
+ end
1509
+
1506
1510
end # integrationtests.jl testset
You can’t perform that action at this time.
0 commit comments