Skip to content

Commit

Permalink
Clean up options changes in testing
Browse files Browse the repository at this point in the history
  • Loading branch information
NeuroShepherd committed Nov 15, 2024
1 parent f9e6f0c commit 53c89e6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/testthat/test-use_ordinalsimr_options.R
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,10 @@ test_that("get_ordinalsimr_options() returns a list of ordinalsimr options", {

test_that("check that set_ordinalsimr_options() works", {

opts < options()

suppressMessages({

# set options
set_ordinalsimr_options(default_iterations = 1000,
default_size_min = NULL,
Expand Down Expand Up @@ -98,6 +100,7 @@ test_that("check that set_ordinalsimr_options() works", {
})


options(opts)

})

Expand Down

0 comments on commit 53c89e6

Please sign in to comment.