Skip to content

Commit 42e519b

Browse files
fix CI
1 parent 9c1d283 commit 42e519b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

test/sample.jl

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,8 @@
3434

3535
# test warning for initial_parameters (typo)
3636
# Note: initial_parameters will be ignored, but it should warn the user
37-
@test_logs (:warn, r"initial_parameters.*not recognised.*initial_params") (
38-
:warn,
39-
) sample(
37+
@test_logs (:warn, r"initial_parameters.*not recognised.*initial_params") match_mode =
38+
:any sample(
4039
MyModel(),
4140
MySampler(),
4241
MCMCThreads(),

0 commit comments

Comments
 (0)