Skip to content

Commit

Permalink
unpack list column in expect and format
Browse files Browse the repository at this point in the history
  • Loading branch information
kbvernon committed Nov 10, 2024
1 parent c3a1bbc commit 26fd0bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/testthat/test-use_crate.R
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ test_that("use_crate() adds dependency to package or workspace", {

use_crate(
"serde",
features = "derive",
features = "derive",
version = "1.0.1",
path = path
)
Expand All @@ -22,7 +22,7 @@ test_that("use_crate() adds dependency to package or workspace", {

expect_equal(dependency[["name"]], "serde")

expect_equal(dependency[["features"]], "derive")
expect_equal(dependency[["features"]][[1]], "derive")

expect_equal(dependency[["req"]], "^1.0.1")
})

0 comments on commit 26fd0bb

Please sign in to comment.