From d20cc31ea9f7694d9604c7a947dee5b48a78d1a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABlle=20Salmon?= Date: Fri, 23 Aug 2024 14:39:12 +0200 Subject: [PATCH] test: vertical space --- tests/testthat/test-ui.R | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/testthat/test-ui.R b/tests/testthat/test-ui.R index 9ed9d17..128c88a 100644 --- a/tests/testthat/test-ui.R +++ b/tests/testthat/test-ui.R @@ -1,6 +1,7 @@ test_that("cli_alert_success() works", { withr::local_options(emodnet.wfs.quiet = TRUE) expect_silent(cli_alert_success("hihihi")) + withr::local_options(emodnet.wfs.quiet = FALSE) expect_snapshot(cli_alert_success("hihihi")) }) @@ -8,6 +9,7 @@ test_that("cli_alert_success() works", { test_that("cli_alert_info() works", { withr::local_options(emodnet.wfs.quiet = TRUE) expect_silent(cli_alert_info("hihihi")) + withr::local_options(emodnet.wfs.quiet = FALSE) expect_snapshot(cli_alert_info("hihihi")) }) @@ -15,6 +17,7 @@ test_that("cli_alert_info() works", { test_that("cli_alert_danger() works", { withr::local_options(emodnet.wfs.quiet = TRUE) expect_silent(cli_alert_danger("hihihi")) + withr::local_options(emodnet.wfs.quiet = FALSE) expect_snapshot(cli_alert_danger("hihihi")) })