test_that("extract_fude() works", { d <- list("2022_261025" = 1, "2022_261033" = 2, "2021_261033" = 3) expect_match(names(extract_fude(d, year = 2022))[1], "2022_261025") expect_match(names(extract_fude(d, year = 2021)), "2021_261033") })