Skip to content

Commit

Permalink
fix unit tets
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksander Chlebowski committed Dec 12, 2023
1 parent 07c54e7 commit 0b01e5e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/testthat/test-FilteredData.R
Original file line number Diff line number Diff line change
Expand Up @@ -363,19 +363,19 @@ testthat::test_that("format returns properly formatted string representing `teal

testthat::expect_identical(
shiny::isolate(datasets$format()),
paste0("FilteredData:\n", format(fs_out))
paste0("FilteredData:\n", format(fs))
)
testthat::expect_identical(
shiny::isolate(datasets$format(show_all = TRUE)),
paste0("FilteredData:\n", format(fs_out, show_all = TRUE))
paste0("FilteredData:\n", format(fs, show_all = TRUE))
)
testthat::expect_identical(
shiny::isolate(datasets$format(trim_lines = FALSE)),
paste0("FilteredData:\n", format(fs_out, trim_lines = FALSE))
paste0("FilteredData:\n", format(fs, trim_lines = FALSE))
)
testthat::expect_identical(
shiny::isolate(datasets$format(show_all = TRUE, trim_lines = FALSE)),
paste0("FilteredData:\n", format(fs_out, show_all = TRUE, trim_lines = FALSE))
paste0("FilteredData:\n", format(fs, show_all = TRUE, trim_lines = FALSE))
)
})

Expand Down

0 comments on commit 0b01e5e

Please sign in to comment.