Skip to content

Commit

Permalink
Fix tests for leaflet v2.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
gadenbuie committed Aug 15, 2023
1 parent f903607 commit 0373b9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test-legend.R
Original file line number Diff line number Diff line change
Expand Up @@ -757,7 +757,7 @@ testthat::test_that('Awesome Legends', {
addLegendAwesomeIcon(iconSet = iconSet) %>%
getElement('dependencies') %>%
vapply(getElement, 'name', FUN.VALUE = character(1)) %>%
testthat::expect_equal(c('leaflet-awesomemarkers', 'bootstrap'))
testthat::expect_contains(c('leaflet-awesomemarkers', 'bootstrap'))
m %>%
addLegendAwesomeIcon(iconSet = iconSet) %>%
getElement(1) %>%
Expand Down

0 comments on commit 0373b9d

Please sign in to comment.