Skip to content

Commit

Permalink
tests backward compatibility
Browse files Browse the repository at this point in the history
dokato committed Jan 15, 2021
1 parent 16816b2 commit 4d5ca62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test-router.R
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@ test_that("test route without server", {
server <- function(input, output, session, ...){}
router_ui <- shiny::div("a", `data-path` = "aa", class = "router router-hidden ")
rr <- route("aa", ui)
expect_equal(rr$aa, list(ui = router_ui, server = server))
expect_equal(rr$aa, list(ui = router_ui, server = server), check.environment = FALSE)
})

test_that("test route with server", {

0 comments on commit 4d5ca62

Please sign in to comment.