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