Skip to content

Commit

Permalink
remove problems check for scan files
Browse files Browse the repository at this point in the history
issue with unix date times makes this an inconsistent test
  • Loading branch information
sebkopf committed Feb 13, 2020
1 parent cc2c3d0 commit 14d9ab8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/testthat/test-export.R
Original file line number Diff line number Diff line change
Expand Up @@ -224,8 +224,6 @@ test_that("test that export to Excel works properly", {
dplyr::mutate_if(.predicate = is.numeric, .funs = signif),
read_excel(str_c(filepath, ".scan.xlsx"), "resistors") %>%
dplyr::mutate_if(.predicate = is.numeric, .funs = signif))
expect_equal(iso_get_problems(scan_example) %>% select(file_id),
readxl::read_excel(str_c(filepath, ".scan.xlsx"), "problems", col_types = c("text")))
expect_true(file.remove(str_c(filepath, ".scan.xlsx")))


Expand Down

0 comments on commit 14d9ab8

Please sign in to comment.