Skip to content

Commit

Permalink
tests: update test expectations for run_bin
Browse files Browse the repository at this point in the history
  • Loading branch information
luciorq committed Jan 23, 2025
1 parent 46bec38 commit 88be0e4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: condathis
Title: Run Any CLI Tool on a 'Conda' Environment
Version: 0.1.0.9002
Version: 0.1.0.9003
Authors@R: c(
person("Lucio", "Queiroz", , "[email protected]", role = c("aut", "cre", "cph"),
comment = c(ORCID = "0000-0002-6090-1834")),
Expand Down
4 changes: 2 additions & 2 deletions tests/testthat/test-run_bin.R
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ test_that("Check if error is being rethrown when binary is not in path", {
error = "continue"
)

testthat::expect_equal(run_res$status, 127L)
testthat::expect_true(run_res$status != 0L)

run_bin_res <- run_bin(
"Rfakeexec", "--version",
Expand All @@ -69,5 +69,5 @@ test_that("Check if error is being rethrown when binary is not in path", {
error = "continue"
)

testthat::expect_equal(run_bin_res$status, 127L)
testthat::expect_true(run_bin_res$status != 0L)
})

0 comments on commit 88be0e4

Please sign in to comment.