Skip to content

Commit

Permalink
Remove redundant test
Browse files Browse the repository at this point in the history
  • Loading branch information
cpsievert committed Sep 29, 2020
1 parent 61d65fd commit ae10a49
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions tests/testthat/test-tags.r
Original file line number Diff line number Diff line change
Expand Up @@ -530,12 +530,6 @@ test_that("Tag list tree is rendered in DOM tree order", {
# Tree order is preorder, depth-first traversal
# https://dom.spec.whatwg.org/#concept-tree
#
# Test for depth-first (not breadth-first)
# https://stackoverflow.com/a/16113998/1583084
expect_identical(
as.character(tags$p("Consider this", tags$i("relatively"), "simple", tags$strong("HTML"), "subtree")),
"<p>\n Consider this\n <i>relatively</i>\n simple\n <strong>HTML</strong>\n subtree\n</p>"
)
# Test for preordered traversal/execution of tagFunction(). This allows one to
# rely on the side-effects of executing a tag, so long as those side-effects
# happen "towards the top" of the tree. Shiny implicitly assumes this
Expand Down

0 comments on commit ae10a49

Please sign in to comment.