From e26864ec344efd7dae65e735113edfb95a1f4105 Mon Sep 17 00:00:00 2001 From: Rich FitzJohn Date: Tue, 22 Oct 2024 15:33:31 +0100 Subject: [PATCH] Drop extra test from previous version --- tests/testthat/test-util.R | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/tests/testthat/test-util.R b/tests/testthat/test-util.R index 69039359..74ce7a0e 100644 --- a/tests/testthat/test-util.R +++ b/tests/testthat/test-util.R @@ -589,18 +589,3 @@ describe("copy_files", { "have different lengths") }) }) - - -test_that("can sensibly control quietness", { - withr::with_options(list(orderly.quiet = NULL), { - expect_false(orderly_quiet(NULL)) - expect_false(orderly_quiet(FALSE)) - expect_true(orderly_quiet(TRUE)) - }) - - withr::with_options(list(orderly.quiet = TRUE), { - expect_true(orderly_quiet(NULL)) - expect_false(orderly_quiet(FALSE)) - expect_true(orderly_quiet(TRUE)) - }) -})