From f9cd0666d36748d5de0d6fee8ef0e738e4e9a2fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Ver=C3=ADssimo?= <211358+averissimo@users.noreply.github.com> Date: Mon, 11 Sep 2023 14:33:09 +0200 Subject: [PATCH] fix: simplifies test --- tests/testthat/test-adtteSpec.R | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tests/testthat/test-adtteSpec.R b/tests/testthat/test-adtteSpec.R index c41752f6..7a24c219 100644 --- a/tests/testthat/test-adtteSpec.R +++ b/tests/testthat/test-adtteSpec.R @@ -180,14 +180,10 @@ test_that("adtteSpecInput creates expected HTML", { # First element is a div tag expect_tag(result[[1]]) - expect_class(result[[1]], "shiny.tag") - expect_identical(result[[1]]$name, "div") # Second element is the contents of a single js file expect_length(result[[2]], 1) expect_tag(result[[2]][[1]]) - expect_class(result[[2]][[1]], "shiny.tag") - expect_identical(result[[2]][[1]]$name, "script") }) # nolint start