Skip to content

Commit

Permalink
Improve test
Browse files Browse the repository at this point in the history
  • Loading branch information
krlmlr committed Jul 16, 2023
1 parent 3954140 commit 42c7d6b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
7 changes: 0 additions & 7 deletions tests/testthat/_snaps/dplyr.md

This file was deleted.

5 changes: 1 addition & 4 deletions tests/testthat/test-dplyr.R
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,5 @@ test_that("no homonyms", {
objs_dplyr <- mget(names_common, dplyr)
objs_duckplyr <- mget(names_common, duckplyr)

same <- purrr::map2_lgl(objs_dplyr, objs_duckplyr, identical)
expect_snapshot({
names_common[!same]
})
expect_identical(objs_duckplyr, objs_dplyr[names(objs_duckplyr)])
})

0 comments on commit 42c7d6b

Please sign in to comment.