Skip to content

Commit

Permalink
No depend on assertive
Browse files Browse the repository at this point in the history
  • Loading branch information
richelbilderbeek committed Oct 26, 2023
1 parent 3c9fcc6 commit f3044ac
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,5 @@ Imports:
stringr,
testit
Suggests:
assertive,
testthat (>= 2.1.0)
RoxygenNote: 7.2.1
2 changes: 1 addition & 1 deletion tests/testthat/test-is_on_peregrine.R
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
test_that("use", {
# Cannot check if this is TRUE or FALSE: it depends
# where the test if run
expect_true(assertive::is_if_condition(is_on_peregrine()))
expect_true(beautier::is_one_bool(is_on_peregrine()))

# Travis is not Peregrine
if (beautier::is_on_travis()) {
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-is_on_peregrine_login_node.R
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
test_that("use", {
# Cannot check if this is TRUE or FALSE: it depends
# where the test if run
expect_true(assertive::is_if_condition(is_on_peregrine_login_node()))
expect_true(beautier::is_one_bool(is_on_peregrine_login_node()))

# Travis is not Peregrine
if (beautier::is_on_travis()) {
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-is_on_peregrine_worker_node.R
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
test_that("use", {
# Cannot check if this is TRUE or FALSE: it depends
# where the test if run
expect_true(assertive::is_if_condition(is_on_peregrine_worker_node()))
expect_true(beautier::is_one_bool(is_on_peregrine_login_node()))

# Travis is not Peregrine
if (beautier::is_on_travis()) {
Expand Down

0 comments on commit f3044ac

Please sign in to comment.