mario icon indicating copy to clipboard operation
mario copied to clipboard

change tests to be fault tolerant on windows

Open seankross opened this issue 4 years ago • 0 comments

correct <- purrr::map2_lgl(correct_path, json_path, 
                           ~all.equal(readLines(.x), readLines(.y)) %>% 
                             isTRUE())
map2(correct, json_path, ~ if_else fromJson is type error and on windows and 
     error message says blah blah then change to TRUE else return original value)
  • or figure out why it's not working on windows (but the execution env is never windows so who cares?)
  • or just remove windows from the CI

seankross avatar Dec 10 '21 06:12 seankross