Skip to content

Commit

Permalink
Update test values
Browse files Browse the repository at this point in the history
  • Loading branch information
andrjohns committed Jan 5, 2025
1 parent cb95407 commit cdfbd69
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/testthat/test-install.R
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ test_that("install_cmdstan() works with version and release_url", {
install_cmdstan(dir = dir, overwrite = TRUE, cores = 4,
release_url = "https://github.com/stan-dev/cmdstan/releases/download/v2.35.0/cmdstan-2.35.0.tar.gz",
wsl = os_is_wsl()),
"Compiling, linking C++ code",
"Compiling C++ code",
fixed = TRUE
),
"Finished installing CmdStan",
Expand All @@ -114,7 +114,7 @@ test_that("install_cmdstan() works with version and release_url", {
# the URL is intentionally invalid to test that the version has higher priority
release_url = "https://github.com/stan-dev/cmdstan/releases/download/v2.27.3/cmdstan-2.27.3.tar.gz",
wsl = os_is_wsl()),
"Compiling, linking C++ code",
"Compiling C++ code",
fixed = TRUE
),
"Finished installing CmdStan",
Expand All @@ -123,7 +123,7 @@ test_that("install_cmdstan() works with version and release_url", {
"version and release_url shouldn't both be specified",
fixed = TRUE
)
expect_true(dir.exists(file.path(dir, "cmdstan-2.33.0")))
expect_true(dir.exists(file.path(dir, "cmdstan-2.35.0")))
set_cmdstan_path(cmdstan_default_path())
})

Expand Down Expand Up @@ -265,7 +265,7 @@ test_that("Install from release file works", {
install_cmdstan(dir = dir, cores = 2, quiet = FALSE, overwrite = TRUE,
release_file = destfile,
wsl = os_is_wsl()),
"Compiling, linking C++ code",
"Compiling C++ code",
fixed = TRUE
),
"CmdStan path set",
Expand Down

0 comments on commit cdfbd69

Please sign in to comment.