From cca9c798975b6082f2f4c0d7c416890cbb565ce1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?I=C3=B1aki=20=C3=9Acar?= Date: Tue, 26 Jul 2022 17:02:12 +0200 Subject: [PATCH] fix error message expectation to comply with RcppCore/Rcpp/pull/1225 --- tests/testthat/test-maybe_xlsx.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/testthat/test-maybe_xlsx.R b/tests/testthat/test-maybe_xlsx.R index 2b05dba..e2e7a7d 100644 --- a/tests/testthat/test-maybe_xlsx.R +++ b/tests/testthat/test-maybe_xlsx.R @@ -11,6 +11,6 @@ test_that("non-xlsx files are detected", { expect_error(xlsx_cells("examples.xlsm", check_filetype = FALSE), NA) expect_error(xlsx_cells("examples.xltx", check_filetype = FALSE), NA) expect_error(xlsx_cells("examples.xltm", check_filetype = FALSE), NA) - expect_error(xlsx_cells("examples.xlsb", check_filetype = FALSE), "Evaluation.*") + expect_error(xlsx_cells("examples.xlsb", check_filetype = FALSE), "Couldn't find.*") expect_error(xlsx_cells("examples.xls"), "The file format*") })