Skip to content

Commit f20460d

Browse files
committed
Fix error message after data.table change
1 parent 240561e commit f20460d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/testthat/test-csv.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,8 @@ test_that("read_cmdstan_csv() fails with empty csv file", {
8585
file_path <- test_path("resources", "csv", "empty.csv")
8686
file.create(file_path)
8787
expect_error(read_cmdstan_csv(file_path),
88-
"Supplied CSV file is corrupt!")
88+
"External command failed",
89+
fixed = TRUE)
8990
file.remove(file_path)
9091
})
9192

0 commit comments

Comments
 (0)