From 50d93778ec0718b94e12d9b27c6c368261f07102 Mon Sep 17 00:00:00 2001 From: Rich FitzJohn Date: Mon, 16 Oct 2023 08:37:56 +0100 Subject: [PATCH] Fix lint --- tests/testthat/test-parameters.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/testthat/test-parameters.R b/tests/testthat/test-parameters.R index 9041da22..753ef7c2 100644 --- a/tests/testthat/test-parameters.R +++ b/tests/testthat/test-parameters.R @@ -86,7 +86,7 @@ test_that("set defaults into environment if missing", { test_that("fill in missing parameters", { envir <- list2env(list(b = 3, c = 4), parent = new.env()) - mock_get <- mockery::mock({envir$a <- 1}) + mock_get <- mockery::mock(envir$a <- 1) mockery::stub(check_parameters_interactive, "get_missing_parameters_interactive", mock_get)