Skip to content

Commit

Permalink
fix: simplifies test
Browse files Browse the repository at this point in the history
  • Loading branch information
averissimo committed Sep 11, 2023
1 parent 095e334 commit f9cd066
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions tests/testthat/test-adtteSpec.R
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f9cd066

Please sign in to comment.