Skip to content

Commit 7f66ea0

Browse files
Use fixed = TRUE in test to avoid regex issues with parentheses
1 parent ad29d7e commit 7f66ea0

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/testthat/test_compare.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@ test_that("loo_compare throws appropriate warnings", {
6262
})
6363
expect_warning(
6464
loo_compare(w_list),
65-
"Difference in performance potentially due to chance. See McLatchie and Vehtari (2023) for details."
65+
"Difference in performance potentially due to chance. See McLatchie and Vehtari (2023) for details.",
66+
fixed = TRUE
6667
)
6768

6869
w_list_short <- lapply(1:4, function(x) {

0 commit comments

Comments
 (0)